#F287C4

A color in the Purple, Crimson, Magenta family

#f287c4 is a color in the Purple, Crimson, Magenta family: RGB(242, 135, 196), HSL(326°, 80%, 74%), CMYK(0%, 44%, 19%, 5%). Closest named color: hotpink. Contrast is 2.32:1 on white and 9.04:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f287c4
RGBrgb(242 135 196)
RGB (legacy)rgb(242, 135, 196)
RGB %rgb(95% 53% 77%)
HSLhsl(326 80% 74%)
HSV / HSBhsv(326, 44%, 95%)
HWBhwb(326 53% 5%)
CMYKcmyk(0%, 44%, 19%, 5%)
CIELAB (D50)lab(69.8 47.18 -13.02)
LCHlch(69.8 48.95 344.57)
OKLaboklab(0.7572 0.1437 -0.0359)
OKLCHoklch(0.7572 0.1481 345.96)
Decimal15894468

Properties

Color TonePurple, Crimson, Magenta
Closest named colorhotpink ΔE 6
Closest web-safe color#ff99cc
Hue326°
Saturation (HSL / HSV)80% / 44%
Lightness (HSL)74%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)68% / 64%
Relative luminance (WCAG)0.4019
Red / Green / Blue242 / 135 / 196

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.04:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 45.5 / -56.6 · As background with white / black text: Lc -50.4 / 58.5

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #f287c4;
  --color-brand-oklch: oklch(75.72% 0.1481 345.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 135 196 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f287c4] text-[#f287c4] border-[#f287c4]">