#E170A2#E170A2

#E170A2 is a light, vivid pink. Relative luminance 0.302; OKLCH L 69.1% C 0.150 H 353.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#E170A2
RGBrgb(225, 112, 162)
HSLhsl(333, 65%, 66%)
HSVhsv(333, 50%, 88%)
CMYKcmyk(0%, 50.2%, 28%, 11.8%)
CIE-LABlab(61.83, 49.44, -6.27)
CIE-LCHlch(61.83, 49.84, 352.77°)
OKLaboklab(69.06% 0.1496 -0.0159)
OKLCHoklch(69.06% 0.15 353.9)
XYZxyz(43.3687, 30.2083, 37.7221)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170A2 #70E1AF
analogous
#E170DB #E170A2 #E17670
triadic
#E170A2 #A2E170 #70A2E1
tetradic
#E170A2 #DBE170 #70E1AF #7670E1
square
#E170A2 #DBE170 #70E1AF #7670E1
split-complementary
#E170A2 #70E176 #70DBE1
monochromatic
#B12563 #D63D81 #E170A2 #ECA3C3 #F6D5E4

Accessibility & contrast

On white

2.98
#E170A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#E170A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170A2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170A2#FFFFFF#000000##000000
##E170A21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A4
Deuteranopia (green-blind)
#9C9D9F
Tritanopia (blue-blind)
#F06A83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e170a2;
/* rgb */ color: rgb(225, 112, 162);
/* oklch */ color: oklch(69.1% 0.150 353.9);
Tailwind
colors: {
  custom: {
    50: '#ed9cbd',
    500: '#e170a2',
    950: '#000000',
  },
}
SCSS
$custom: #e170a2;
$custom-light: #ed9cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#e170a2",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 162
  },
  "hsl": {
    "h": 333.451,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69058,
    "c": 0.15044,
    "h": 353.9
  },
  "luminance": 0.30205
}

Semantic roles & 50–950 ramp

primary
#E170A2
secondary
#C4E9D9
accent
#CD7D18
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170E12
muted
#857E81

Preview Lab

Preview with #E170A2

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

Preview Lab → · Contrast checker → · Palette generator →

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