#E172AB#E172AB

#E172AB is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.6% C 0.152 H 349.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#E172AB
RGBrgb(225, 114, 171)
HSLhsl(329, 65%, 66%)
HSVhsv(329, 49%, 88%)
CMYKcmyk(0%, 49.3%, 24%, 11.8%)
CIE-LABlab(62.50, 49.67, -10.44)
CIE-LCHlch(62.50, 50.76, 348.13°)
OKLaboklab(69.65% 0.1494 -0.0272)
OKLCHoklch(69.65% 0.152 349.7)
XYZxyz(44.4206, 30.9861, 42.1616)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172AB #72E1A8
analogous
#DF72E1 #E172AB #E17274
triadic
#E172AB #ABE172 #72ABE1
tetradic
#E172AB #E1DF72 #72E1A8 #7274E1
square
#E172AB #E1DF72 #72E1A8 #7274E1
split-complementary
#E172AB #74E172 #72E1DF
monochromatic
#B3266E #D6408D #E172AB #ECA4C9 #F6D7E7

Accessibility & contrast

On white

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

On black

7.20
#E172AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172AB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172AB#FFFFFF#000000##000000
##E172AB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAD
Deuteranopia (green-blind)
#9B9EA8
Tritanopia (blue-blind)
#EF6F87
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e172ab;
/* rgb */ color: rgb(225, 114, 171);
/* oklch */ color: oklch(69.6% 0.152 349.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ec4',
    500: '#e172ab',
    950: '#000000',
  },
}
SCSS
$custom: #e172ab;
$custom-light: #ed9ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#e172ab",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 171
  },
  "hsl": {
    "h": 329.189,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.15185,
    "h": 349.7
  },
  "luminance": 0.30982
}

Semantic roles & 50–950 ramp

primary
#E172AB
secondary
#C5E9D7
accent
#CD7019
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F12
muted
#857E81

Preview Lab

Preview with #E172AB

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

Preview Lab → · Contrast checker → · Palette generator →

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