#F287D5#F287D5

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

Color values

HEX#F287D5
RGBrgb(242, 135, 213)
HSLhsl(316, 80%, 74%)
HSVhsv(316, 44%, 95%)
CMYKcmyk(0%, 44.2%, 12%, 5.1%)
CIE-LABlab(70.19, 50.88, -22.22)
CIE-LCHlch(70.19, 55.52, 336.41°)
OKLaboklab(76.34% 0.1484 -0.0596)
OKLCHoklch(76.34% 0.16 338.1)
XYZxyz(57.2924, 41.0129, 67.8365)
Luminance0.4101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287D5 #87F2A4
analogous
#DA87F2 #F287D5 #F287A0
triadic
#F287D5 #D5F287 #87D5F2
tetradic
#F287D5 #F2DA87 #87F2A4 #87A0F2
square
#F287D5 #F2DA87 #87F2A4 #87A0F2
split-complementary
#F287D5 #A0F287 #87F2DA
monochromatic
#E619AE #EC50C2 #F287D5 #F8BEE8 #FCE3F5

Accessibility & contrast

On white

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

On black

9.20
#F287D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287D5
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287D5#FFFFFF#000000##000000
##F287D51.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA1D8
Deuteranopia (green-blind)
#A6B2D2
Tritanopia (blue-blind)
#FC8AA5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f287d5;
/* rgb */ color: rgb(242, 135, 213);
/* oklch */ color: oklch(76.3% 0.160 338.1);
Tailwind
colors: {
  custom: {
    50: '#f8ace2',
    500: '#f287d5',
    950: '#000000',
  },
}
SCSS
$custom: #f287d5;
$custom-light: #f8ace2;
$custom-dark: #000000;
JSON
{
  "hex": "#f287d5",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 316.262,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76343,
    "c": 0.15987,
    "h": 338.1
  },
  "luminance": 0.41009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F287D5

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

Preview Lab → · Contrast checker → · Palette generator →

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