#F870A4#F870A4

#F870A4 is a light, vivid pink. Relative luminance 0.342; OKLCH L 72.2% C 0.174 H 358.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F870A4
RGBrgb(248, 112, 164)
HSLhsl(337, 91%, 71%)
HSVhsv(337, 55%, 97%)
CMYKcmyk(0%, 54.8%, 33.9%, 2.7%)
CIE-LABlab(65.14, 57.09, -2.16)
CIE-LCHlch(65.14, 57.13, 357.83°)
OKLaboklab(72.21% 0.1738 -0.0049)
OKLCHoklch(72.21% 0.174 358.4)
XYZxyz(51.2090, 34.2303, 39.0250)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870A4 #70F8C4
analogous
#F870E8 #F870A4 #F88070
triadic
#F870A4 #A4F870 #70A4F8
tetradic
#F870A4 #E8F870 #70F8C4 #8070F8
square
#F870A4 #E8F870 #70F8C4 #8070F8
split-complementary
#F870A4 #70F880 #70E8F8
monochromatic
#E30B5D #F5367F #F870A4 #FBAAC9 #FEE2EC

Accessibility & contrast

On white

2.68
#F870A4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F870A4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870A4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870A4#FFFFFF#000000##000000
##F870A41.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA6
Deuteranopia (green-blind)
#AAA8A1
Tritanopia (blue-blind)
#FF6684
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f870a4;
/* rgb */ color: rgb(248, 112, 164);
/* oklch */ color: oklch(72.2% 0.174 358.4);
Tailwind
colors: {
  custom: {
    50: '#fe9ebe',
    500: '#f870a4',
    950: '#000000',
  },
}
SCSS
$custom: #f870a4;
$custom-light: #fe9ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#f870a4",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 164
  },
  "hsl": {
    "h": 337.059,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.17386,
    "h": 358.4
  },
  "luminance": 0.34225
}

Semantic roles & 50–950 ramp

primary
#F870A4
secondary
#CFF4E6
accent
#E68E00
background
#FFFAFB
surface
#FFF3F6
border
#D7CDD0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F870A4

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

Preview Lab → · Contrast checker → · Palette generator →

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