#F287D4#F287D4

#F287D4 is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.3% C 0.159 H 338.5°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#F287D4
RGBrgb(242, 135, 212)
HSLhsl(317, 80%, 74%)
HSVhsv(317, 44%, 95%)
CMYKcmyk(0%, 44.2%, 12.4%, 5.1%)
CIE-LABlab(70.15, 50.72, -21.72)
CIE-LCHlch(70.15, 55.18, 336.82°)
OKLaboklab(76.31% 0.1481 -0.0582)
OKLCHoklch(76.31% 0.159 338.5)
XYZxyz(57.1659, 40.9623, 67.1701)
Luminance0.4096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D4 #87F2A5
analogous
#DA87F2 #F287D4 #F2879F
triadic
#F287D4 #D4F287 #87D4F2
tetradic
#F287D4 #F2DA87 #87F2A5 #879FF2
square
#F287D4 #F2DA87 #87F2A5 #879FF2
split-complementary
#F287D4 #9FF287 #87F2DA
monochromatic
#E619AC #EC50C0 #F287D4 #F8BEE8 #FCE3F5

Accessibility & contrast

On white

2.28
#F287D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#F287D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D4
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D4#FFFFFF#000000##000000
##F287D41.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D7
Deuteranopia (green-blind)
#A7B2D1
Tritanopia (blue-blind)
#FD8AA4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f287d4;
/* rgb */ color: rgb(242, 135, 212);
/* oklch */ color: oklch(76.3% 0.159 338.5);
Tailwind
colors: {
  custom: {
    50: '#f8ace1',
    500: '#f287d4',
    950: '#000000',
  },
}
SCSS
$custom: #f287d4;
$custom-light: #f8ace1;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d4",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 212
  },
  "hsl": {
    "h": 316.822,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76305,
    "c": 0.15913,
    "h": 338.5
  },
  "luminance": 0.40959
}

Semantic roles & 50–950 ramp

primary
#F287D4
secondary
#D7F4DF
accent
#DD4409
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F287D4

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F287D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva