#F870D7#F870D7

#F870D7 is a light, highly saturated pink. Relative luminance 0.365; OKLCH L 74.1% C 0.202 H 337.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F870D7
RGBrgb(248, 112, 215)
HSLhsl(315, 91%, 71%)
HSVhsv(315, 55%, 97%)
CMYKcmyk(0%, 54.8%, 13.3%, 2.7%)
CIE-LABlab(66.87, 63.90, -28.35)
CIE-LCHlch(66.87, 69.91, 336.07°)
OKLaboklab(74.06% 0.1873 -0.0765)
OKLCHoklch(74.06% 0.202 337.8)
XYZxyz(56.7720, 36.4555, 68.3233)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870D7 #70F891
analogous
#D570F8 #F870D7 #F87093
triadic
#F870D7 #D7F870 #70D7F8
tetradic
#F870D7 #F8D570 #70F891 #7093F8
square
#F870D7 #F8D570 #70F891 #7093F8
split-complementary
#F870D7 #93F870 #70F8D5
monochromatic
#E30BAE #F536C7 #F870D7 #FBAAE7 #FEE2F7

Accessibility & contrast

On white

2.53
#F870D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F870D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870D7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870D7#FFFFFF#000000##000000
##F870D71.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7495DA
Deuteranopia (green-blind)
#9BAAD3
Tritanopia (blue-blind)
#FF759A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870d7;
/* rgb */ color: rgb(248, 112, 215);
/* oklch */ color: oklch(74.1% 0.202 337.8);
Tailwind
colors: {
  custom: {
    50: '#fd9fe3',
    500: '#f870d7',
    950: '#000000',
  },
}
SCSS
$custom: #f870d7;
$custom-light: #fd9fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#f870d7",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 215
  },
  "hsl": {
    "h": 314.559,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.20234,
    "h": 337.8
  },
  "luminance": 0.36451
}

Semantic roles & 50–950 ramp

primary
#F870D7
secondary
#CFF4D8
accent
#E63800
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F870D7

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

Preview Lab → · Contrast checker → · Palette generator →

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