#F870C4#F870C4

#F870C4 is a light, vivid pink. Relative luminance 0.355; OKLCH L 73.3% C 0.190 H 344.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#F870C4
RGBrgb(248, 112, 196)
HSLhsl(323, 91%, 71%)
HSVhsv(323, 55%, 97%)
CMYKcmyk(0%, 54.8%, 21%, 2.7%)
CIE-LABlab(66.16, 61.16, -18.77)
CIE-LCHlch(66.16, 63.98, 342.94°)
OKLaboklab(73.31% 0.1831 -0.0498)
OKLCHoklch(73.31% 0.19 344.8)
XYZxyz(54.4708, 35.5350, 56.2040)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870C4 #70F8A4
analogous
#E870F8 #F870C4 #F87080
triadic
#F870C4 #C4F870 #70C4F8
tetradic
#F870C4 #F8E870 #70F8A4 #7080F8
square
#F870C4 #F8E870 #70F8A4 #7080F8
split-complementary
#F870C4 #80F870 #70F8E8
monochromatic
#E30B90 #F536AC #F870C4 #FBAADC #FEE2F3

Accessibility & contrast

On white

2.59
#F870C4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#F870C4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870C4
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870C4#FFFFFF#000000##000000
##F870C41.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#A1A9C1
Tritanopia (blue-blind)
#FF6F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f870c4;
/* rgb */ color: rgb(248, 112, 196);
/* oklch */ color: oklch(73.3% 0.190 344.8);
Tailwind
colors: {
  custom: {
    50: '#fe9ed6',
    500: '#f870c4',
    950: '#000000',
  },
}
SCSS
$custom: #f870c4;
$custom-light: #fe9ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#f870c4",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 196
  },
  "hsl": {
    "h": 322.941,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.1897,
    "h": 344.8
  },
  "luminance": 0.3553
}

Semantic roles & 50–950 ramp

primary
#F870C4
secondary
#CFF4DE
accent
#E65800
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F14
muted
#867F83

Preview Lab

Preview with #F870C4

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

Preview Lab → · Contrast checker → · Palette generator →

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