#F870DA#F870DA

#F870DA is a light, highly saturated pink. Relative luminance 0.366; OKLCH L 74.2% C 0.205 H 336.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F870DA
RGBrgb(248, 112, 218)
HSLhsl(313, 91%, 71%)
HSVhsv(313, 55%, 97%)
CMYKcmyk(0%, 54.8%, 12.1%, 2.7%)
CIE-LABlab(66.98, 64.35, -29.84)
CIE-LCHlch(66.98, 70.94, 335.12°)
OKLaboklab(74.19% 0.1879 -0.0807)
OKLCHoklch(74.19% 0.205 336.8)
XYZxyz(57.1610, 36.6111, 70.3721)
Luminance0.3661 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F870DA #70F88E
analogous
#D270F8 #F870DA #F87096
triadic
#F870DA #DAF870 #70DAF8
tetradic
#F870DA #F8D270 #70F88E #7096F8
square
#F870DA #F8D270 #70F88E #7096F8
split-complementary
#F870DA #96F870 #70F8D2
monochromatic
#E30BB3 #F536CB #F870DA #FBAAE9 #FEE2F7

Accessibility & contrast

On white

2.52
#F870DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F870DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F870DA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F870DA#FFFFFF#000000##000000
##F870DA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#9AABD6
Tritanopia (blue-blind)
#FF769B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f870da;
/* rgb */ color: rgb(248, 112, 218);
/* oklch */ color: oklch(74.2% 0.205 336.8);
Tailwind
colors: {
  custom: {
    50: '#fd9fe5',
    500: '#f870da',
    950: '#000000',
  },
}
SCSS
$custom: #f870da;
$custom-light: #fd9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#f870da",
  "rgb": {
    "r": 248,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 313.235,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74185,
    "c": 0.20451,
    "h": 336.8
  },
  "luminance": 0.36607
}

Semantic roles & 50–950 ramp

primary
#F870DA
secondary
#CFF4D8
accent
#E63300
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F870DA

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

Preview Lab → · Contrast checker → · Palette generator →

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