#E171AF#E171AF

#E171AF is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.6% C 0.156 H 347.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#E171AF
RGBrgb(225, 113, 175)
HSLhsl(327, 65%, 66%)
HSVhsv(327, 50%, 88%)
CMYKcmyk(0%, 49.8%, 22.2%, 11.8%)
CIE-LABlab(62.44, 50.73, -12.81)
CIE-LCHlch(62.44, 52.32, 345.83°)
OKLaboklab(69.65% 0.1521 -0.0336)
OKLCHoklch(69.65% 0.156 347.5)
XYZxyz(44.6955, 30.9166, 44.1626)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171AF #71E1A3
analogous
#DB71E1 #E171AF #E17177
triadic
#E171AF #AFE171 #71AFE1
tetradic
#E171AF #E1DB71 #71E1A3 #7177E1
square
#E171AF #E1DB71 #71E1A3 #7177E1
split-complementary
#E171AF #77E171 #71E1DB
monochromatic
#B22673 #D63E93 #E171AF #ECA4CB #F6D6E8

Accessibility & contrast

On white

2.92
#E171AF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#E171AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171AF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171AF#FFFFFF#000000##000000
##E171AF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#9A9EAC
Tritanopia (blue-blind)
#EE6F88
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e171af;
/* rgb */ color: rgb(225, 113, 175);
/* oklch */ color: oklch(69.6% 0.156 347.5);
Tailwind
colors: {
  custom: {
    50: '#ed9dc7',
    500: '#e171af',
    950: '#000000',
  },
}
SCSS
$custom: #e171af;
$custom-light: #ed9dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#e171af",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 175
  },
  "hsl": {
    "h": 326.786,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.15573,
    "h": 347.5
  },
  "luminance": 0.30913
}

Semantic roles & 50–950 ramp

primary
#E171AF
secondary
#C5E9D5
accent
#CD6919
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #E171AF

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

Preview Lab → · Contrast checker → · Palette generator →

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