#F870DD#F870DD

#F870DD is a light, highly saturated pink. Relative luminance 0.368; OKLCH L 74.3% C 0.207 H 335.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#F870DD
RGBrgb(248, 112, 221)
HSLhsl(312, 91%, 71%)
HSVhsv(312, 55%, 97%)
CMYKcmyk(0%, 54.8%, 10.9%, 2.7%)
CIE-LABlab(67.10, 64.81, -31.33)
CIE-LCHlch(67.10, 71.99, 334.20°)
OKLaboklab(74.31% 0.1885 -0.0849)
OKLCHoklch(74.31% 0.207 335.8)
XYZxyz(57.5571, 36.7695, 72.4583)
Luminance0.3676 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870DD #70F88B
analogous
#CF70F8 #F870DD #F87099
triadic
#F870DD #DDF870 #70DDF8
tetradic
#F870DD #F8CF70 #70F88B #7099F8
square
#F870DD #F8CF70 #70F88B #7099F8
split-complementary
#F870DD #99F870 #70F8CF
monochromatic
#E30BB8 #F536CF #F870DD #FBAAEB #FEE2F8

Accessibility & contrast

On white

2.51
#F870DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#F870DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870DD
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870DD#FFFFFF#000000##000000
##F870DD1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196E1
Deuteranopia (green-blind)
#99ABD9
Tritanopia (blue-blind)
#FF779D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870dd;
/* rgb */ color: rgb(248, 112, 221);
/* oklch */ color: oklch(74.3% 0.207 335.8);
Tailwind
colors: {
  custom: {
    50: '#fd9fe8',
    500: '#f870dd',
    950: '#000000',
  },
}
SCSS
$custom: #f870dd;
$custom-light: #fd9fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#f870dd",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 311.912,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74312,
    "c": 0.20671,
    "h": 335.8
  },
  "luminance": 0.36765
}

Semantic roles & 50–950 ramp

primary
#F870DD
secondary
#CFF4D7
accent
#E62E00
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870DD

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

Preview Lab → · Contrast checker → · Palette generator →

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