#E171CD#E171CD

#E171CD is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.8% C 0.177 H 334.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#E171CD
RGBrgb(225, 113, 205)
HSLhsl(311, 65%, 66%)
HSVhsv(311, 50%, 88%)
CMYKcmyk(0%, 49.8%, 8.9%, 11.8%)
CIE-LABlab(63.53, 55.30, -28.15)
CIE-LCHlch(63.53, 62.05, 333.02°)
OKLaboklab(70.82% 0.1595 -0.0763)
OKLCHoklch(70.82% 0.177 334.4)
XYZxyz(47.9759, 32.2288, 61.4396)
Luminance0.3223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171CD #71E185
analogous
#BD71E1 #E171CD #E17195
triadic
#E171CD #CDE171 #71CDE1
tetradic
#E171CD #E1BD71 #71E185 #7195E1
square
#E171CD #E1BD71 #71E185 #7195E1
split-complementary
#E171CD #95E171 #71E1BD
monochromatic
#B22699 #D63EBB #E171CD #ECA4DF #F6D6F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E171CD#FFFFFF#000000##000000
##E171CD1.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)
#708FD0
Deuteranopia (green-blind)
#90A0CA
Tritanopia (blue-blind)
#EA7796
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e171cd;
/* rgb */ color: rgb(225, 113, 205);
/* oklch */ color: oklch(70.8% 0.177 334.4);
Tailwind
colors: {
  custom: {
    50: '#ed9edc',
    500: '#e171cd',
    950: '#000000',
  },
}
SCSS
$custom: #e171cd;
$custom-light: #ed9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#e171cd",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 310.714,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70822,
    "c": 0.17681,
    "h": 334.4
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#E171CD
secondary
#C5E9CB
accent
#CD3919
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170F15
muted
#857E83

Preview Lab

Preview with #E171CD

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

Preview Lab → · Contrast checker → · Palette generator →

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