#E172AA#E172AA

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

Color values

HEX#E172AA
RGBrgb(225, 114, 170)
HSLhsl(330, 65%, 66%)
HSVhsv(330, 49%, 88%)
CMYKcmyk(0%, 49.3%, 24.4%, 11.8%)
CIE-LABlab(62.46, 49.54, -9.91)
CIE-LCHlch(62.46, 50.52, 348.68°)
OKLaboklab(69.61% 0.1491 -0.0257)
OKLCHoklch(69.61% 0.151 350.2)
XYZxyz(44.3257, 30.9481, 41.6615)
Luminance0.3094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172AA #72E1A9
analogous
#E172E1 #E172AA #E17273
triadic
#E172AA #AAE172 #72AAE1
tetradic
#E172AA #E1E172 #72E1A9 #7273E1
square
#E172AA #E1E172 #72E1A9 #7273E1
split-complementary
#E172AA #73E172 #72E1E1
monochromatic
#B3266D #D6408C #E172AA #ECA4C8 #F6D7E7

Accessibility & contrast

On white

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

On black

7.19
#E172AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172AA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172AA#FFFFFF#000000##000000
##E172AA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAC
Deuteranopia (green-blind)
#9B9EA7
Tritanopia (blue-blind)
#EF6E87
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e172aa;
/* rgb */ color: rgb(225, 114, 170);
/* oklch */ color: oklch(69.6% 0.151 350.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ec3',
    500: '#e172aa',
    950: '#000000',
  },
}
SCSS
$custom: #e172aa;
$custom-light: #ed9ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#e172aa",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 170
  },
  "hsl": {
    "h": 329.73,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69613,
    "c": 0.1513,
    "h": 350.2
  },
  "luminance": 0.30944
}

Semantic roles & 50–950 ramp

primary
#E172AA
secondary
#C5E9D7
accent
#CD7219
background
#FEF9FB
surface
#FDF2F7
border
#D5CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #E172AA

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

Preview Lab → · Contrast checker → · Palette generator →

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