#F287C6

A color in the Purple, Crimson, Magenta family

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

Color Codes

HEX#f287c6
RGBrgb(242 135 198)
RGB (legacy)rgb(242, 135, 198)
RGB %rgb(95% 53% 78%)
HSLhsl(325 80% 74%)
HSV / HSBhsv(325, 44%, 95%)
HWBhwb(325 53% 5%)
CMYKcmyk(0%, 44%, 18%, 5%)
CIELAB (D50)lab(69.86 47.4 -14.05)
LCHlch(69.86 49.44 343.49)
OKLaboklab(0.7579 0.1443 -0.0387)
OKLCHoklch(0.7579 0.1494 344.98)
Decimal15894470

Properties

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

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.06: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.4 / -56.7 · As background with white / black text: Lc -50.3 / 58.6

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