#F870B7#F870B7

#F870B7 is a light, vivid pink. Relative luminance 0.350; OKLCH L 72.8% C 0.182 H 350.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#F870B7
RGBrgb(248, 112, 183)
HSLhsl(329, 91%, 71%)
HSVhsv(329, 55%, 97%)
CMYKcmyk(0%, 54.8%, 26.2%, 2.7%)
CIE-LABlab(65.72, 59.43, -12.10)
CIE-LCHlch(65.72, 60.64, 348.50°)
OKLaboklab(72.84% 0.1796 -0.0315)
OKLCHoklch(72.84% 0.182 350.1)
XYZxyz(53.0548, 34.9686, 48.7460)
Luminance0.3496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870B7 #70F8B1
analogous
#F570F8 #F870B7 #F87073
triadic
#F870B7 #B7F870 #70B7F8
tetradic
#F870B7 #F8F570 #70F8B1 #7073F8
square
#F870B7 #F8F570 #70F8B1 #7073F8
split-complementary
#F870B7 #73F870 #70F8F5
monochromatic
#E30B7C #F5369A #F870B7 #FBAAD4 #FEE2F0

Accessibility & contrast

On white

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

On black

7.99
#F870B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870B7
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870B7#FFFFFF#000000##000000
##F870B71.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091B9
Deuteranopia (green-blind)
#A5A9B4
Tritanopia (blue-blind)
#FF6B8C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f870b7;
/* rgb */ color: rgb(248, 112, 183);
/* oklch */ color: oklch(72.8% 0.182 350.1);
Tailwind
colors: {
  custom: {
    50: '#fe9ecc',
    500: '#f870b7',
    950: '#000000',
  },
}
SCSS
$custom: #f870b7;
$custom-light: #fe9ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#f870b7",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 183
  },
  "hsl": {
    "h": 328.676,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.18233,
    "h": 350.1
  },
  "luminance": 0.34964
}

Semantic roles & 50–950 ramp

primary
#F870B7
secondary
#CFF4E1
accent
#E66E00
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F870B7

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

Preview Lab → · Contrast checker → · Palette generator →

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