#E170CD#E170CD

#E170CD is a light, vivid pink. Relative luminance 0.320; OKLCH L 70.7% C 0.178 H 334.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#E170CD
RGBrgb(225, 112, 205)
HSLhsl(311, 65%, 66%)
HSVhsv(311, 50%, 88%)
CMYKcmyk(0%, 50.2%, 8.9%, 11.8%)
CIE-LABlab(63.35, 55.78, -28.43)
CIE-LCHlch(63.35, 62.61, 332.99°)
OKLaboklab(70.69% 0.1609 -0.077)
OKLCHoklch(70.69% 0.178 334.4)
XYZxyz(47.8650, 32.0069, 61.4026)
Luminance0.3200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170CD #70E184
analogous
#BC70E1 #E170CD #E17094
triadic
#E170CD #CDE170 #70CDE1
tetradic
#E170CD #E1BC70 #70E184 #7094E1
square
#E170CD #E1BC70 #70E184 #7094E1
split-complementary
#E170CD #94E170 #70E1BC
monochromatic
#B12599 #D63DBB #E170CD #ECA3DF #F6D5F0

Accessibility & contrast

On white

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

On black

7.40
#E170CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170CD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170CD#FFFFFF#000000##000000
##E170CD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#909FCA
Tritanopia (blue-blind)
#EA7695
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e170cd;
/* rgb */ color: rgb(225, 112, 205);
/* oklch */ color: oklch(70.7% 0.178 334.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ddc',
    500: '#e170cd',
    950: '#000000',
  },
}
SCSS
$custom: #e170cd;
$custom-light: #ed9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#e170cd",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 310.619,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70686,
    "c": 0.17841,
    "h": 334.4
  },
  "luminance": 0.32004
}

Semantic roles & 50–950 ramp

primary
#E170CD
secondary
#C4E9CA
accent
#CD3818
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E170CD

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

Preview Lab → · Contrast checker → · Palette generator →

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