#F870B2#F870B2

#F870B2 is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.7% C 0.180 H 352.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F870B2
RGBrgb(248, 112, 178)
HSLhsl(331, 91%, 71%)
HSVhsv(331, 55%, 97%)
CMYKcmyk(0%, 54.8%, 28.2%, 2.7%)
CIE-LABlab(65.56, 58.79, -9.50)
CIE-LCHlch(65.56, 59.55, 350.82°)
OKLaboklab(72.67% 0.1781 -0.0244)
OKLCHoklch(72.67% 0.18 352.2)
XYZxyz(52.5436, 34.7641, 46.0538)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870B2 #70F8B6
analogous
#F870F6 #F870B2 #F87270
triadic
#F870B2 #B2F870 #70B2F8
tetradic
#F870B2 #F6F870 #70F8B6 #7270F8
square
#F870B2 #F6F870 #70F8B6 #7270F8
split-complementary
#F870B2 #70F872 #70F6F8
monochromatic
#E30B74 #F53693 #F870B2 #FBAAD1 #FEE2EF

Accessibility & contrast

On white

2.64
#F870B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#F870B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870B2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870B2#FFFFFF#000000##000000
##F870B21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#A6A8AF
Tritanopia (blue-blind)
#FF6A89
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f870b2;
/* rgb */ color: rgb(248, 112, 178);
/* oklch */ color: oklch(72.7% 0.180 352.2);
Tailwind
colors: {
  custom: {
    50: '#fe9ec9',
    500: '#f870b2',
    950: '#000000',
  },
}
SCSS
$custom: #f870b2;
$custom-light: #fe9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f870b2",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 330.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72665,
    "c": 0.17981,
    "h": 352.2
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#F870B2
secondary
#CFF4E2
accent
#E67600
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F870B2

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

Preview Lab → · Contrast checker → · Palette generator →

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