#F287D3#F287D3

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

Color values

HEX#F287D3
RGBrgb(242, 135, 211)
HSLhsl(317, 80%, 74%)
HSVhsv(317, 44%, 95%)
CMYKcmyk(0%, 44.2%, 12.8%, 5.1%)
CIE-LABlab(70.11, 50.56, -21.22)
CIE-LCHlch(70.11, 54.84, 337.23°)
OKLaboklab(76.27% 0.1478 -0.0568)
OKLCHoklch(76.27% 0.158 339)
XYZxyz(57.0402, 40.9120, 66.5078)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D3 #87F2A6
analogous
#DC87F2 #F287D3 #F2879E
triadic
#F287D3 #D3F287 #87D3F2
tetradic
#F287D3 #F2DC87 #87F2A6 #879EF2
square
#F287D3 #F2DC87 #87F2A6 #879EF2
split-complementary
#F287D3 #9EF287 #87F2DC
monochromatic
#E619AA #EC50BF #F287D3 #F8BEE7 #FCE3F5

Accessibility & contrast

On white

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

On black

9.18
#F287D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D3#FFFFFF#000000##000000
##F287D31.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA1D6
Deuteranopia (green-blind)
#A7B2D0
Tritanopia (blue-blind)
#FD89A4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f287d3;
/* rgb */ color: rgb(242, 135, 211);
/* oklch */ color: oklch(76.3% 0.158 339.0);
Tailwind
colors: {
  custom: {
    50: '#f8ace0',
    500: '#f287d3',
    950: '#000000',
  },
}
SCSS
$custom: #f287d3;
$custom-light: #f8ace0;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d3",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 211
  },
  "hsl": {
    "h": 317.383,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.15838,
    "h": 339
  },
  "luminance": 0.40908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F287D3

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

Preview Lab → · Contrast checker → · Palette generator →

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