#E170D2#E170D2

#E170D2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.182 H 332.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#E170D2
RGBrgb(225, 112, 210)
HSLhsl(308, 65%, 66%)
HSVhsv(308, 50%, 88%)
CMYKcmyk(0%, 50.2%, 6.7%, 11.8%)
CIE-LABlab(63.55, 56.60, -30.93)
CIE-LCHlch(63.55, 64.50, 331.35°)
OKLaboklab(70.9% 0.1619 -0.0841)
OKLCHoklch(70.9% 0.182 332.5)
XYZxyz(48.4782, 32.2521, 64.6322)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170D2 #70E17F
analogous
#B770E1 #E170D2 #E17099
triadic
#E170D2 #D2E170 #70D2E1
tetradic
#E170D2 #E1B770 #70E17F #7099E1
square
#E170D2 #E1B770 #70E17F #7099E1
split-complementary
#E170D2 #99E170 #70E1B7
monochromatic
#B1259F #D63DC2 #E170D2 #ECA3E2 #F6D5F2

Accessibility & contrast

On white

2.82
#E170D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#E170D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170D2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170D2#FFFFFF#000000##000000
##E170D21.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D5
Deuteranopia (green-blind)
#8EA0CF
Tritanopia (blue-blind)
#E97897
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e170d2;
/* rgb */ color: rgb(225, 112, 210);
/* oklch */ color: oklch(70.9% 0.182 332.5);
Tailwind
colors: {
  custom: {
    50: '#ed9de0',
    500: '#e170d2',
    950: '#000000',
  },
}
SCSS
$custom: #e170d2;
$custom-light: #ed9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#e170d2",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 307.965,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.18245,
    "h": 332.5
  },
  "luminance": 0.32249
}

Semantic roles & 50–950 ramp

primary
#E170D2
secondary
#C4E9C9
accent
#CD3018
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E170D2

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

Preview Lab → · Contrast checker → · Palette generator →

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