#F870DF#F870DF

#F870DF is a light, highly saturated pink. Relative luminance 0.369; OKLCH L 74.4% C 0.208 H 335.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F870DF
RGBrgb(248, 112, 223)
HSLhsl(311, 91%, 71%)
HSVhsv(311, 55%, 97%)
CMYKcmyk(0%, 54.8%, 10.1%, 2.7%)
CIE-LABlab(67.18, 65.12, -32.32)
CIE-LCHlch(67.18, 72.70, 333.61°)
OKLaboklab(74.4% 0.1888 -0.0877)
OKLCHoklch(74.4% 0.208 335.1)
XYZxyz(57.8251, 36.8767, 73.8700)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870DF #70F889
analogous
#CD70F8 #F870DF #F8709B
triadic
#F870DF #DFF870 #70DFF8
tetradic
#F870DF #F8CD70 #70F889 #709BF8
square
#F870DF #F8CD70 #70F889 #709BF8
split-complementary
#F870DF #9BF870 #70F8CD
monochromatic
#E30BBB #F536D2 #F870DF #FBAAEC #FEE2F8

Accessibility & contrast

On white

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

On black

8.37
#F870DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870DF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870DF#FFFFFF#000000##000000
##F870DF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#98ABDB
Tritanopia (blue-blind)
#FF779E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870df;
/* rgb */ color: rgb(248, 112, 223);
/* oklch */ color: oklch(74.4% 0.208 335.1);
Tailwind
colors: {
  custom: {
    50: '#fd9fe9',
    500: '#f870df',
    950: '#000000',
  },
}
SCSS
$custom: #f870df;
$custom-light: #fd9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f870df",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 311.029,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74398,
    "c": 0.20821,
    "h": 335.1
  },
  "luminance": 0.36873
}

Semantic roles & 50–950 ramp

primary
#F870DF
secondary
#CFF4D6
accent
#E62A00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870DF

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

Preview Lab → · Contrast checker → · Palette generator →

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