#F870BC#F870BC

#F870BC is a light, vivid pink. Relative luminance 0.352; OKLCH L 73.0% C 0.185 H 348.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F870BC
RGBrgb(248, 112, 188)
HSLhsl(326, 91%, 71%)
HSVhsv(326, 55%, 97%)
CMYKcmyk(0%, 54.8%, 24.2%, 2.7%)
CIE-LABlab(65.89, 60.08, -14.68)
CIE-LCHlch(65.89, 61.85, 346.27°)
OKLaboklab(73.01% 0.181 -0.0385)
OKLCHoklch(73.01% 0.185 348)
XYZxyz(53.5844, 35.1805, 51.5356)
Luminance0.3518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870BC #70F8AC
analogous
#F070F8 #F870BC #F87078
triadic
#F870BC #BCF870 #70BCF8
tetradic
#F870BC #F8F070 #70F8AC #7078F8
square
#F870BC #F8F070 #70F8AC #7078F8
split-complementary
#F870BC #78F870 #70F8F0
monochromatic
#E30B83 #F536A1 #F870BC #FBAAD7 #FEE2F1

Accessibility & contrast

On white

2.61
#F870BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#F870BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870BC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870BC#FFFFFF#000000##000000
##F870BC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F91BE
Deuteranopia (green-blind)
#A4A9B9
Tritanopia (blue-blind)
#FF6D8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f870bc;
/* rgb */ color: rgb(248, 112, 188);
/* oklch */ color: oklch(73.0% 0.185 348.0);
Tailwind
colors: {
  custom: {
    50: '#fe9ed0',
    500: '#f870bc',
    950: '#000000',
  },
}
SCSS
$custom: #f870bc;
$custom-light: #fe9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#f870bc",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 326.471,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73013,
    "c": 0.18502,
    "h": 348
  },
  "luminance": 0.35176
}

Semantic roles & 50–950 ramp

primary
#F870BC
secondary
#CFF4E0
accent
#E66500
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F870BC

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

Preview Lab → · Contrast checker → · Palette generator →

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