#F870AF#F870AF

#F870AF is a light, vivid pink. Relative luminance 0.346; OKLCH L 72.6% C 0.178 H 353.5°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#F870AF
RGBrgb(248, 112, 175)
HSLhsl(332, 91%, 71%)
HSVhsv(332, 55%, 97%)
CMYKcmyk(0%, 54.8%, 29.4%, 2.7%)
CIE-LABlab(65.47, 58.41, -7.94)
CIE-LCHlch(65.47, 58.95, 352.26°)
OKLaboklab(72.57% 0.1772 -0.0202)
OKLCHoklch(72.57% 0.178 353.5)
XYZxyz(52.2457, 34.6449, 44.4847)
Luminance0.3464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870AF #70F8B9
analogous
#F870F3 #F870AF #F87570
triadic
#F870AF #AFF870 #70AFF8
tetradic
#F870AF #F3F870 #70F8B9 #7570F8
square
#F870AF #F3F870 #70F8B9 #7570F8
split-complementary
#F870AF #70F875 #70F3F8
monochromatic
#E30B6F #F5368E #F870AF #FBAAD0 #FEE2EF

Accessibility & contrast

On white

2.65
#F870AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#F870AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870AF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870AF#FFFFFF#000000##000000
##F870AF1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8390B1
Deuteranopia (green-blind)
#A7A8AC
Tritanopia (blue-blind)
#FF6988
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f870af;
/* rgb */ color: rgb(248, 112, 175);
/* oklch */ color: oklch(72.6% 0.178 353.5);
Tailwind
colors: {
  custom: {
    50: '#fe9ec6',
    500: '#f870af',
    950: '#000000',
  },
}
SCSS
$custom: #f870af;
$custom-light: #fe9ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#f870af",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 175
  },
  "hsl": {
    "h": 332.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72565,
    "c": 0.17839,
    "h": 353.5
  },
  "luminance": 0.3464
}

Semantic roles & 50–950 ramp

primary
#F870AF
secondary
#CFF4E3
accent
#E67B00
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F870AF

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

Preview Lab → · Contrast checker → · Palette generator →

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