#F870DB#F870DB

#F870DB is a light, highly saturated pink. Relative luminance 0.367; OKLCH L 74.2% C 0.205 H 336.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#F870DB
RGBrgb(248, 112, 219)
HSLhsl(313, 91%, 71%)
HSVhsv(313, 55%, 97%)
CMYKcmyk(0%, 54.8%, 11.7%, 2.7%)
CIE-LABlab(67.02, 64.50, -30.34)
CIE-LCHlch(67.02, 71.28, 334.81°)
OKLaboklab(74.23% 0.1881 -0.0821)
OKLCHoklch(74.23% 0.205 336.4)
XYZxyz(57.2922, 36.6636, 71.0633)
Luminance0.3666 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870DB #70F88D
analogous
#D170F8 #F870DB #F87097
triadic
#F870DB #DBF870 #70DBF8
tetradic
#F870DB #F8D170 #70F88D #7097F8
square
#F870DB #F8D170 #70F88D #7097F8
split-complementary
#F870DB #97F870 #70F8D1
monochromatic
#E30BB5 #F536CC #F870DB #FBAAEA #FEE2F8

Accessibility & contrast

On white

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

On black

8.33
#F870DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870DB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870DB#FFFFFF#000000##000000
##F870DB1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#9AABD7
Tritanopia (blue-blind)
#FF769C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870db;
/* rgb */ color: rgb(248, 112, 219);
/* oklch */ color: oklch(74.2% 0.205 336.4);
Tailwind
colors: {
  custom: {
    50: '#fd9fe6',
    500: '#f870db',
    950: '#000000',
  },
}
SCSS
$custom: #f870db;
$custom-light: #fd9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f870db",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 312.794,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.20523,
    "h": 336.4
  },
  "luminance": 0.36659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870DB

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

Preview Lab → · Contrast checker → · Palette generator →

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