#E172BB#E172BB

#E172BB is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.2% C 0.162 H 342.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#E172BB
RGBrgb(225, 114, 187)
HSLhsl(321, 65%, 66%)
HSVhsv(321, 49%, 88%)
CMYKcmyk(0%, 49.3%, 16.9%, 11.8%)
CIE-LABlab(63.04, 51.99, -18.73)
CIE-LCHlch(63.04, 55.26, 340.19°)
OKLaboklab(70.23% 0.1539 -0.0499)
OKLCHoklch(70.23% 0.162 342)
XYZxyz(46.0390, 31.6335, 50.6851)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172BB #72E198
analogous
#D072E1 #E172BB #E17284
triadic
#E172BB #BBE172 #72BBE1
tetradic
#E172BB #E1D072 #72E198 #7284E1
square
#E172BB #E1D072 #72E198 #7284E1
split-complementary
#E172BB #84E172 #72E1D0
monochromatic
#B32682 #D640A3 #E172BB #ECA4D3 #F6D7EC

Accessibility & contrast

On white

2.87
#E172BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#E172BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172BB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172BB#FFFFFF#000000##000000
##E172BB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#798DBD
Deuteranopia (green-blind)
#979FB8
Tritanopia (blue-blind)
#ED738E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e172bb;
/* rgb */ color: rgb(225, 114, 187);
/* oklch */ color: oklch(70.2% 0.162 342.0);
Tailwind
colors: {
  custom: {
    50: '#ed9ecf',
    500: '#e172bb',
    950: '#000000',
  },
}
SCSS
$custom: #e172bb;
$custom-light: #ed9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#e172bb",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 320.541,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70232,
    "c": 0.16178,
    "h": 342
  },
  "luminance": 0.3163
}

Semantic roles & 50–950 ramp

primary
#E172BB
secondary
#C5E9D2
accent
#CD5619
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F13
muted
#857E82

Preview Lab

Preview with #E172BB

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

Preview Lab → · Contrast checker → · Palette generator →

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