#F287D2#F287D2

#F287D2 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.2% C 0.158 H 339.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#F287D2
RGBrgb(242, 135, 210)
HSLhsl(318, 80%, 74%)
HSVhsv(318, 44%, 95%)
CMYKcmyk(0%, 44.2%, 13.2%, 5.1%)
CIE-LABlab(70.08, 50.41, -20.72)
CIE-LCHlch(70.08, 54.50, 337.65°)
OKLaboklab(76.23% 0.1476 -0.0554)
OKLCHoklch(76.23% 0.158 339.4)
XYZxyz(56.9152, 40.8620, 65.8497)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D2 #87F2A7
analogous
#DD87F2 #F287D2 #F2879D
triadic
#F287D2 #D2F287 #87D2F2
tetradic
#F287D2 #F2DD87 #87F2A7 #879DF2
square
#F287D2 #F2DD87 #87F2A7 #879DF2
split-complementary
#F287D2 #9DF287 #87F2DD
monochromatic
#E619A8 #EC50BD #F287D2 #F8BEE7 #FCE3F5

Accessibility & contrast

On white

2.29
#F287D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#F287D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D2#FFFFFF#000000##000000
##F287D21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D5
Deuteranopia (green-blind)
#A7B1CF
Tritanopia (blue-blind)
#FD89A3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f287d2;
/* rgb */ color: rgb(242, 135, 210);
/* oklch */ color: oklch(76.2% 0.158 339.4);
Tailwind
colors: {
  custom: {
    50: '#f8ace0',
    500: '#f287d2',
    950: '#000000',
  },
}
SCSS
$custom: #f287d2;
$custom-light: #f8ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d2",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 317.944,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76229,
    "c": 0.15764,
    "h": 339.4
  },
  "luminance": 0.40858
}

Semantic roles & 50–950 ramp

primary
#F287D2
secondary
#D7F4E0
accent
#DD4809
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F287D2

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

Preview Lab → · Contrast checker → · Palette generator →

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