#F870DC#F870DC

#F870DC is a light, highly saturated pink. Relative luminance 0.367; OKLCH L 74.3% C 0.206 H 336.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F870DC
RGBrgb(248, 112, 220)
HSLhsl(312, 91%, 71%)
HSVhsv(312, 55%, 97%)
CMYKcmyk(0%, 54.8%, 11.3%, 2.7%)
CIE-LABlab(67.06, 64.66, -30.83)
CIE-LCHlch(67.06, 71.63, 334.50°)
OKLaboklab(74.27% 0.1883 -0.0835)
OKLCHoklch(74.27% 0.206 336.1)
XYZxyz(57.4243, 36.7164, 71.7588)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870DC #70F88C
analogous
#D070F8 #F870DC #F87098
triadic
#F870DC #DCF870 #70DCF8
tetradic
#F870DC #F8D070 #70F88C #7098F8
square
#F870DC #F8D070 #70F88C #7098F8
split-complementary
#F870DC #98F870 #70F8D0
monochromatic
#E30BB6 #F536CE #F870DC #FBAAEA #FEE2F8

Accessibility & contrast

On white

2.52
#F870DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F870DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870DC
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870DC#FFFFFF#000000##000000
##F870DC1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DF
Deuteranopia (green-blind)
#9AABD8
Tritanopia (blue-blind)
#FF779C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870dc;
/* rgb */ color: rgb(248, 112, 220);
/* oklch */ color: oklch(74.3% 0.206 336.1);
Tailwind
colors: {
  custom: {
    50: '#fd9fe7',
    500: '#f870dc',
    950: '#000000',
  },
}
SCSS
$custom: #f870dc;
$custom-light: #fd9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#f870dc",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 312.353,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7427,
    "c": 0.20597,
    "h": 336.1
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870DC

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

Preview Lab → · Contrast checker → · Palette generator →

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