#F870CB#F870CB

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

Color values

HEX#F870CB
RGBrgb(248, 112, 203)
HSLhsl(320, 91%, 71%)
HSVhsv(320, 55%, 97%)
CMYKcmyk(0%, 54.8%, 18.1%, 2.7%)
CIE-LABlab(66.41, 62.15, -22.33)
CIE-LCHlch(66.41, 66.04, 340.24°)
OKLaboklab(73.58% 0.1847 -0.0596)
OKLCHoklch(73.58% 0.194 342.1)
XYZxyz(55.2862, 35.8612, 60.4984)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870CB #70F89D
analogous
#E170F8 #F870CB #F87087
triadic
#F870CB #CBF870 #70CBF8
tetradic
#F870CB #F8E170 #70F89D #7087F8
square
#F870CB #F8E170 #70F89D #7087F8
split-complementary
#F870CB #87F870 #70F8E1
monochromatic
#E30B9B #F536B6 #F870CB #FBAAE0 #FEE2F4

Accessibility & contrast

On white

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

On black

8.17
#F870CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870CB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870CB#FFFFFF#000000##000000
##F870CB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#9FAAC8
Tritanopia (blue-blind)
#FF7194
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f870cb;
/* rgb */ color: rgb(248, 112, 203);
/* oklch */ color: oklch(73.6% 0.194 342.1);
Tailwind
colors: {
  custom: {
    50: '#fd9edb',
    500: '#f870cb',
    950: '#000000',
  },
}
SCSS
$custom: #f870cb;
$custom-light: #fd9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f870cb",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 319.853,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73576,
    "c": 0.19412,
    "h": 342.1
  },
  "luminance": 0.35857
}

Semantic roles & 50–950 ramp

primary
#F870CB
secondary
#CFF4DC
accent
#E64C00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F870CB

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

Preview Lab → · Contrast checker → · Palette generator →

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