#F870BD#F870BD

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

Color values

HEX#F870BD
RGBrgb(248, 112, 189)
HSLhsl(326, 91%, 71%)
HSVhsv(326, 55%, 97%)
CMYKcmyk(0%, 54.8%, 23.8%, 2.7%)
CIE-LABlab(65.92, 60.21, -15.19)
CIE-LCHlch(65.92, 62.10, 345.84°)
OKLaboklab(73.05% 0.1812 -0.0399)
OKLCHoklch(73.05% 0.186 347.6)
XYZxyz(53.6926, 35.2237, 52.1053)
Luminance0.3522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870BD #70F8AB
analogous
#EF70F8 #F870BD #F87079
triadic
#F870BD #BDF870 #70BDF8
tetradic
#F870BD #F8EF70 #70F8AB #7079F8
square
#F870BD #F8EF70 #70F8AB #7079F8
split-complementary
#F870BD #79F870 #70F8EF
monochromatic
#E30B85 #F536A2 #F870BD #FBAAD8 #FEE2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F870BD#FFFFFF#000000##000000
##F870BD1.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)
#7E92BF
Deuteranopia (green-blind)
#A3A9BA
Tritanopia (blue-blind)
#FF6D8E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f870bd;
/* rgb */ color: rgb(248, 112, 189);
/* oklch */ color: oklch(73.0% 0.186 347.6);
Tailwind
colors: {
  custom: {
    50: '#fe9ed1',
    500: '#f870bd',
    950: '#000000',
  },
}
SCSS
$custom: #f870bd;
$custom-light: #fe9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#f870bd",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 326.029,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73049,
    "c": 0.18558,
    "h": 347.6
  },
  "luminance": 0.35219
}

Semantic roles & 50–950 ramp

primary
#F870BD
secondary
#CFF4DF
accent
#E66400
background
#FFFAFC
surface
#FFF3F9
border
#D7CDD2
text
#180F14
muted
#867F82

Preview Lab

Preview with #F870BD

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

Preview Lab → · Contrast checker → · Palette generator →

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