#F870C8#F870C8

#F870C8 is a light, vivid pink. Relative luminance 0.357; OKLCH L 73.5% C 0.192 H 343.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F870C8
RGBrgb(248, 112, 200)
HSLhsl(321, 91%, 71%)
HSVhsv(321, 55%, 97%)
CMYKcmyk(0%, 54.8%, 19.4%, 2.7%)
CIE-LABlab(66.31, 61.72, -20.81)
CIE-LCHlch(66.31, 65.14, 341.37°)
OKLaboklab(73.46% 0.184 -0.0554)
OKLCHoklch(73.46% 0.192 343.2)
XYZxyz(54.9322, 35.7196, 58.6338)
Luminance0.3572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870C8 #70F8A0
analogous
#E470F8 #F870C8 #F87084
triadic
#F870C8 #C8F870 #70C8F8
tetradic
#F870C8 #F8E470 #70F8A0 #7084F8
square
#F870C8 #F8E470 #70F8A0 #7084F8
split-complementary
#F870C8 #84F870 #70F8E4
monochromatic
#E30B96 #F536B2 #F870C8 #FBAADE #FEE2F4

Accessibility & contrast

On white

2.58
#F870C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#F870C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870C8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870C8#FFFFFF#000000##000000
##F870C81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#A0A9C5
Tritanopia (blue-blind)
#FF7093
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f870c8;
/* rgb */ color: rgb(248, 112, 200);
/* oklch */ color: oklch(73.5% 0.192 343.2);
Tailwind
colors: {
  custom: {
    50: '#fe9ed8',
    500: '#f870c8',
    950: '#000000',
  },
}
SCSS
$custom: #f870c8;
$custom-light: #fe9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#f870c8",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 200
  },
  "hsl": {
    "h": 321.176,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73459,
    "c": 0.19219,
    "h": 343.2
  },
  "luminance": 0.35715
}

Semantic roles & 50–950 ramp

primary
#F870C8
secondary
#CFF4DC
accent
#E65100
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F870C8

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

Preview Lab → · Contrast checker → · Palette generator →

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