#F287C2

A color in the Purple, Crimson, Magenta family

#f287c2 is a color in the Purple, Crimson, Magenta family: RGB(242, 135, 194), HSL(327°, 80%, 74%), CMYK(0%, 44%, 20%, 5%). Closest named color: hotpink. Contrast is 2.33:1 on white and 9.02:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f287c2
RGBrgb(242 135 194)
RGB (legacy)rgb(242, 135, 194)
RGB %rgb(95% 53% 76%)
HSLhsl(327 80% 74%)
HSV / HSBhsv(327, 44%, 95%)
HWBhwb(327 53% 5%)
CMYKcmyk(0%, 44%, 20%, 5%)
CIELAB (D50)lab(69.75 46.97 -11.99)
LCHlch(69.75 48.47 345.68)
OKLaboklab(0.7565 0.1431 -0.0331)
OKLCHoklch(0.7565 0.1469 346.96)
Decimal15894466

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.33:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.02: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.6 / -56.5 · As background with white / black text: Lc -50.5 / 58.4

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: #f287c2;
  --color-brand-oklch: oklch(75.65% 0.1469 346.96);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 135 194 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f287c2] text-[#f287c2] border-[#f287c2]">