#F287DF#F287DF

#F287DF is a light, vivid pink. Relative luminance 0.415; OKLCH L 76.7% C 0.168 H 334.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F287DF
RGBrgb(242, 135, 223)
HSLhsl(311, 80%, 74%)
HSVhsv(311, 44%, 95%)
CMYKcmyk(0%, 44.2%, 7.9%, 5.1%)
CIE-LABlab(70.55, 52.50, -27.19)
CIE-LCHlch(70.55, 59.12, 332.62°)
OKLaboklab(76.74% 0.1508 -0.0735)
OKLCHoklch(76.74% 0.168 334)
XYZxyz(58.6010, 41.5364, 74.7284)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287DF #87F29A
analogous
#D087F2 #F287DF #F287AA
triadic
#F287DF #DFF287 #87DFF2
tetradic
#F287DF #F2D087 #87F29A #87AAF2
square
#F287DF #F2D087 #87F29A #87AAF2
split-complementary
#F287DF #AAF287 #87F2D0
monochromatic
#E619C1 #EC50D0 #F287DF #F8BEEE #FCE3F8

Accessibility & contrast

On white

2.26
#F287DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#F287DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287DF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287DF#FFFFFF#000000##000000
##F287DF1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#A3B2DC
Tritanopia (blue-blind)
#FB8DA9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f287df;
/* rgb */ color: rgb(242, 135, 223);
/* oklch */ color: oklch(76.7% 0.168 334.0);
Tailwind
colors: {
  custom: {
    50: '#f8ade9',
    500: '#f287df',
    950: '#000000',
  },
}
SCSS
$custom: #f287df;
$custom-light: #f8ade9;
$custom-dark: #000000;
JSON
{
  "hex": "#f287df",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 310.654,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76736,
    "c": 0.16774,
    "h": 334
  },
  "luminance": 0.41533
}

Semantic roles & 50–950 ramp

primary
#F287DF
secondary
#D7F4DC
accent
#DD2E09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F287DF

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

Preview Lab → · Contrast checker → · Palette generator →

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