#F870CC#F870CC

#F870CC is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.6% C 0.195 H 341.7°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F870CC
RGBrgb(248, 112, 204)
HSLhsl(319, 91%, 71%)
HSVhsv(319, 55%, 97%)
CMYKcmyk(0%, 54.8%, 17.7%, 2.7%)
CIE-LABlab(66.45, 62.29, -22.83)
CIE-LCHlch(66.45, 66.34, 339.87°)
OKLaboklab(73.61% 0.185 -0.061)
OKLCHoklch(73.61% 0.195 341.7)
XYZxyz(55.4058, 35.9090, 61.1281)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870CC #70F89C
analogous
#E070F8 #F870CC #F87088
triadic
#F870CC #CCF870 #70CCF8
tetradic
#F870CC #F8E070 #70F89C #7088F8
square
#F870CC #F8E070 #70F89C #7088F8
split-complementary
#F870CC #88F870 #70F8E0
monochromatic
#E30B9D #F536B7 #F870CC #FBAAE1 #FEE2F5

Accessibility & contrast

On white

2.57
#F870CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F870CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870CC
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870CC#FFFFFF#000000##000000
##F870CC1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#9FAAC9
Tritanopia (blue-blind)
#FF7195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f870cc;
/* rgb */ color: rgb(248, 112, 204);
/* oklch */ color: oklch(73.6% 0.195 341.7);
Tailwind
colors: {
  custom: {
    50: '#fd9edb',
    500: '#f870cc',
    950: '#000000',
  },
}
SCSS
$custom: #f870cc;
$custom-light: #fd9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f870cc",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 319.412,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73615,
    "c": 0.19478,
    "h": 341.7
  },
  "luminance": 0.35904
}

Semantic roles & 50–950 ramp

primary
#F870CC
secondary
#CFF4DB
accent
#E64A00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F870CC

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

Preview Lab → · Contrast checker → · Palette generator →

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