#F287DD#F287DD

#F287DD is a light, vivid pink. Relative luminance 0.414; OKLCH L 76.7% C 0.166 H 334.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#F287DD
RGBrgb(242, 135, 221)
HSLhsl(312, 80%, 74%)
HSVhsv(312, 44%, 95%)
CMYKcmyk(0%, 44.2%, 8.7%, 5.1%)
CIE-LABlab(70.48, 52.17, -26.20)
CIE-LCHlch(70.48, 58.38, 333.33°)
OKLaboklab(76.66% 0.1503 -0.0707)
OKLCHoklch(76.66% 0.166 334.8)
XYZxyz(58.3330, 41.4292, 73.3167)
Luminance0.4143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F287DD #87F29C
analogous
#D287F2 #F287DD #F287A8
triadic
#F287DD #DDF287 #87DDF2
tetradic
#F287DD #F2D287 #87F29C #87A8F2
square
#F287DD #F2D287 #87F29C #87A8F2
split-complementary
#F287DD #A8F287 #87F2D2
monochromatic
#E619BE #EC50CD #F287DD #F8BEED #FCE3F7

Accessibility & contrast

On white

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

On black

9.29
#F287DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F287DD
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F287DD#FFFFFF#000000##000000
##F287DD1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E0
Deuteranopia (green-blind)
#A4B2DA
Tritanopia (blue-blind)
#FB8CA8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f287dd;
/* rgb */ color: rgb(242, 135, 221);
/* oklch */ color: oklch(76.7% 0.166 334.8);
Tailwind
colors: {
  custom: {
    50: '#f8ade7',
    500: '#f287dd',
    950: '#000000',
  },
}
SCSS
$custom: #f287dd;
$custom-light: #f8ade7;
$custom-dark: #000000;
JSON
{
  "hex": "#f287dd",
  "rgb": {
    "r": 242,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 311.776,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76656,
    "c": 0.16612,
    "h": 334.8
  },
  "luminance": 0.41426
}

Semantic roles & 50–950 ramp

primary
#F287DD
secondary
#D7F4DD
accent
#DD3209
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F287DD

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

Preview Lab → · Contrast checker → · Palette generator →

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