#F870D2#F870D2

#F870D2 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.9% C 0.199 H 339.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F870D2
RGBrgb(248, 112, 210)
HSLhsl(317, 91%, 71%)
HSVhsv(317, 55%, 97%)
CMYKcmyk(0%, 54.8%, 15.3%, 2.7%)
CIE-LABlab(66.67, 63.16, -25.85)
CIE-LCHlch(66.67, 68.25, 337.74°)
OKLaboklab(73.85% 0.1863 -0.0695)
OKLCHoklch(73.85% 0.199 339.6)
XYZxyz(56.1393, 36.2024, 64.9913)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870D2 #70F896
analogous
#DA70F8 #F870D2 #F8708E
triadic
#F870D2 #D2F870 #70D2F8
tetradic
#F870D2 #F8DA70 #70F896 #708EF8
square
#F870D2 #F8DA70 #70F896 #708EF8
split-complementary
#F870D2 #8EF870 #70F8DA
monochromatic
#E30BA6 #F536C0 #F870D2 #FBAAE4 #FEE2F6

Accessibility & contrast

On white

2.55
#F870D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#F870D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870D2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870D2#FFFFFF#000000##000000
##F870D21.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#9DAACE
Tritanopia (blue-blind)
#FF7398
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f870d2;
/* rgb */ color: rgb(248, 112, 210);
/* oklch */ color: oklch(73.9% 0.199 339.6);
Tailwind
colors: {
  custom: {
    50: '#fd9fe0',
    500: '#f870d2',
    950: '#000000',
  },
}
SCSS
$custom: #f870d2;
$custom-light: #fd9fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#f870d2",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 316.765,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.19883,
    "h": 339.6
  },
  "luminance": 0.36198
}

Semantic roles & 50–950 ramp

primary
#F870D2
secondary
#CFF4DA
accent
#E64000
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F870D2

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

Preview Lab → · Contrast checker → · Palette generator →

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