#E171BA#E171BA

#E171BA is a light, vivid pink. Relative luminance 0.314; OKLCH L 70.1% C 0.163 H 342.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#E171BA
RGBrgb(225, 113, 186)
HSLhsl(321, 65%, 66%)
HSVhsv(321, 50%, 88%)
CMYKcmyk(0%, 49.8%, 17.3%, 11.8%)
CIE-LABlab(62.82, 52.33, -18.50)
CIE-LCHlch(62.82, 55.50, 340.53°)
OKLaboklab(70.05% 0.1551 -0.0492)
OKLCHoklch(70.05% 0.163 342.4)
XYZxyz(45.8202, 31.3664, 50.0859)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171BA #71E198
analogous
#D071E1 #E171BA #E17182
triadic
#E171BA #BAE171 #71BAE1
tetradic
#E171BA #E1D071 #71E198 #7182E1
square
#E171BA #E1D071 #71E198 #7182E1
split-complementary
#E171BA #82E171 #71E1D0
monochromatic
#B22681 #D63EA1 #E171BA #ECA4D3 #F6D6EB

Accessibility & contrast

On white

2.89
#E171BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#E171BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171BA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171BA#FFFFFF#000000##000000
##E171BA1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBC
Deuteranopia (green-blind)
#969FB7
Tritanopia (blue-blind)
#ED728D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e171ba;
/* rgb */ color: rgb(225, 113, 186);
/* oklch */ color: oklch(70.1% 0.163 342.4);
Tailwind
colors: {
  custom: {
    50: '#ed9dce',
    500: '#e171ba',
    950: '#000000',
  },
}
SCSS
$custom: #e171ba;
$custom-light: #ed9dce;
$custom-dark: #000000;
JSON
{
  "hex": "#e171ba",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 320.893,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70054,
    "c": 0.16271,
    "h": 342.4
  },
  "luminance": 0.31363
}

Semantic roles & 50–950 ramp

primary
#E171BA
secondary
#C5E9D1
accent
#CD5719
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F13
muted
#857E82

Preview Lab

Preview with #E171BA

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

Preview Lab → · Contrast checker → · Palette generator →

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