#E172A2#E172A2

#E172A2 is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.3% C 0.147 H 354.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#E172A2
RGBrgb(225, 114, 162)
HSLhsl(334, 65%, 66%)
HSVhsv(334, 49%, 88%)
CMYKcmyk(0%, 49.3%, 28%, 11.8%)
CIE-LABlab(62.22, 48.46, -5.71)
CIE-LCHlch(62.22, 48.79, 353.28°)
OKLaboklab(69.34% 0.1466 -0.0144)
OKLCHoklch(69.34% 0.147 354.4)
XYZxyz(43.5918, 30.6546, 37.7965)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172A2 #72E1B1
analogous
#E172DA #E172A2 #E17A72
triadic
#E172A2 #A2E172 #72A2E1
tetradic
#E172A2 #DAE172 #72E1B1 #7A72E1
square
#E172A2 #DAE172 #72E1B1 #7A72E1
split-complementary
#E172A2 #72E17A #72DAE1
monochromatic
#B32663 #D64081 #E172A2 #ECA4C3 #F6D7E5

Accessibility & contrast

On white

2.95
#E172A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#E172A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172A2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172A2#FFFFFF#000000##000000
##E172A21.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA4
Deuteranopia (green-blind)
#9D9E9F
Tritanopia (blue-blind)
#F06C84
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e172a2;
/* rgb */ color: rgb(225, 114, 162);
/* oklch */ color: oklch(69.3% 0.147 354.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ebd',
    500: '#e172a2',
    950: '#000000',
  },
}
SCSS
$custom: #e172a2;
$custom-light: #ed9ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#e172a2",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 162
  },
  "hsl": {
    "h": 334.054,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69344,
    "c": 0.14729,
    "h": 354.4
  },
  "luminance": 0.30651
}

Semantic roles & 50–950 ramp

primary
#E172A2
secondary
#C5E9DA
accent
#CD7F19
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170F12
muted
#857E81

Preview Lab

Preview with #E172A2

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

Preview Lab → · Contrast checker → · Palette generator →

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