#F870B5#F870B5

#F870B5 is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.8% C 0.181 H 350.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F870B5
RGBrgb(248, 112, 181)
HSLhsl(330, 91%, 71%)
HSVhsv(330, 55%, 97%)
CMYKcmyk(0%, 54.8%, 27%, 2.7%)
CIE-LABlab(65.66, 59.17, -11.06)
CIE-LCHlch(65.66, 60.19, 349.41°)
OKLaboklab(72.77% 0.179 -0.0287)
OKLCHoklch(72.77% 0.181 350.9)
XYZxyz(52.8481, 34.8859, 47.6575)
Luminance0.3488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870B5 #70F8B3
analogous
#F770F8 #F870B5 #F87071
triadic
#F870B5 #B5F870 #70B5F8
tetradic
#F870B5 #F8F770 #70F8B3 #7071F8
square
#F870B5 #F8F770 #70F8B3 #7071F8
split-complementary
#F870B5 #71F870 #70F8F7
monochromatic
#E30B78 #F53697 #F870B5 #FBAAD3 #FEE2F0

Accessibility & contrast

On white

2.63
#F870B5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F870B5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870B5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870B5#FFFFFF#000000##000000
##F870B51.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8190B7
Deuteranopia (green-blind)
#A6A8B2
Tritanopia (blue-blind)
#FF6A8B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f870b5;
/* rgb */ color: rgb(248, 112, 181);
/* oklch */ color: oklch(72.8% 0.181 350.9);
Tailwind
colors: {
  custom: {
    50: '#fe9ecb',
    500: '#f870b5',
    950: '#000000',
  },
}
SCSS
$custom: #f870b5;
$custom-light: #fe9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#f870b5",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 181
  },
  "hsl": {
    "h": 329.559,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72767,
    "c": 0.18129,
    "h": 350.9
  },
  "luminance": 0.34881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F870B5

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

Preview Lab → · Contrast checker → · Palette generator →

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