#F287D7#F287D7

#F287D7 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.4% C 0.161 H 337.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#F287D7
RGBrgb(242, 135, 215)
HSLhsl(315, 80%, 74%)
HSVhsv(315, 44%, 95%)
CMYKcmyk(0%, 44.2%, 11.2%, 5.1%)
CIE-LABlab(70.26, 51.20, -23.22)
CIE-LCHlch(70.26, 56.22, 335.60°)
OKLaboklab(76.42% 0.1489 -0.0624)
OKLCHoklch(76.42% 0.161 337.3)
XYZxyz(57.5478, 41.1151, 69.1817)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D7 #87F2A2
analogous
#D887F2 #F287D7 #F287A2
triadic
#F287D7 #D7F287 #87D7F2
tetradic
#F287D7 #F2D887 #87F2A2 #87A2F2
square
#F287D7 #F2D887 #87F2A2 #87A2F2
split-complementary
#F287D7 #A2F287 #87F2D8
monochromatic
#E619B2 #EC50C5 #F287D7 #F8BEE9 #FCE3F6

Accessibility & contrast

On white

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

On black

9.22
#F287D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D7#FFFFFF#000000##000000
##F287D71.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A2DA
Deuteranopia (green-blind)
#A6B2D4
Tritanopia (blue-blind)
#FC8BA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f287d7;
/* rgb */ color: rgb(242, 135, 215);
/* oklch */ color: oklch(76.4% 0.161 337.3);
Tailwind
colors: {
  custom: {
    50: '#f8ade3',
    500: '#f287d7',
    950: '#000000',
  },
}
SCSS
$custom: #f287d7;
$custom-light: #f8ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d7",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 315.14,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7642,
    "c": 0.1614,
    "h": 337.3
  },
  "luminance": 0.41111
}

Semantic roles & 50–950 ramp

primary
#F287D7
secondary
#D7F4DE
accent
#DD3E09
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F287D7

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

Preview Lab → · Contrast checker → · Palette generator →

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