#E870B2#E870B2

#E870B2 is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.5% C 0.165 H 348.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#E870B2
RGBrgb(232, 112, 178)
HSLhsl(327, 72%, 67%)
HSVhsv(327, 52%, 91%)
CMYKcmyk(0%, 51.7%, 23.3%, 9%)
CIE-LABlab(63.31, 53.83, -13.11)
CIE-LCHlch(63.31, 55.41, 346.32°)
OKLaboklab(70.53% 0.1618 -0.0343)
OKLCHoklch(70.53% 0.165 348)
XYZxyz(47.1101, 31.9625, 45.7991)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E870B2 #70E8A6
analogous
#E270E8 #E870B2 #E87076
triadic
#E870B2 #B2E870 #70B2E8
tetradic
#E870B2 #E8E270 #70E8A6 #7076E8
square
#E870B2 #E8E270 #70E8A6 #7076E8
split-complementary
#E870B2 #76E870 #70E8E2
monochromatic
#BF1F77 #E03B96 #E870B2 #F0A5CE #F9D9EB

Accessibility & contrast

On white

2.84
#E870B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#E870B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E870B2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E870B2#FFFFFF#000000##000000
##E870B21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#9CA1AF
Tritanopia (blue-blind)
#F66D89
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e870b2;
/* rgb */ color: rgb(232, 112, 178);
/* oklch */ color: oklch(70.5% 0.165 348.0);
Tailwind
colors: {
  custom: {
    50: '#f29dc9',
    500: '#e870b2',
    950: '#000000',
  },
}
SCSS
$custom: #e870b2;
$custom-light: #f29dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#e870b2",
  "rgb": {
    "r": 232,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 327,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7053,
    "c": 0.16538,
    "h": 348
  },
  "luminance": 0.31958
}

Semantic roles & 50–950 ramp

primary
#E870B2
secondary
#C7EDD8
accent
#D46911
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #E870B2

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

Preview Lab → · Contrast checker → · Palette generator →

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