#E172C2#E172C2

#E172C2 is a light, vivid pink. Relative luminance 0.319; OKLCH L 70.5% C 0.167 H 339.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#E172C2
RGBrgb(225, 114, 194)
HSLhsl(317, 65%, 66%)
HSVhsv(317, 49%, 88%)
CMYKcmyk(0%, 49.3%, 13.8%, 11.8%)
CIE-LABlab(63.29, 53.06, -22.30)
CIE-LCHlch(63.29, 57.56, 337.20°)
OKLaboklab(70.51% 0.1556 -0.0598)
OKLCHoklch(70.51% 0.167 339)
XYZxyz(46.8067, 31.9406, 54.7283)
Luminance0.3194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172C2 #72E191
analogous
#C972E1 #E172C2 #E1728B
triadic
#E172C2 #C2E172 #72C2E1
tetradic
#E172C2 #E1C972 #72E191 #728BE1
square
#E172C2 #E1C972 #72E191 #728BE1
split-complementary
#E172C2 #8BE172 #72E1C9
monochromatic
#B3268B #D640AC #E172C2 #ECA4D8 #F6D7EE

Accessibility & contrast

On white

2.84
#E172C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#E172C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172C2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172C2#FFFFFF#000000##000000
##E172C21.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#768EC5
Deuteranopia (green-blind)
#95A0BF
Tritanopia (blue-blind)
#EC7591
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e172c2;
/* rgb */ color: rgb(225, 114, 194);
/* oklch */ color: oklch(70.5% 0.167 339.0);
Tailwind
colors: {
  custom: {
    50: '#ed9ed4',
    500: '#e172c2',
    950: '#000000',
  },
}
SCSS
$custom: #e172c2;
$custom-light: #ed9ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#e172c2",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 194
  },
  "hsl": {
    "h": 316.757,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70506,
    "c": 0.16675,
    "h": 339
  },
  "luminance": 0.31937
}

Semantic roles & 50–950 ramp

primary
#E172C2
secondary
#C5E9CF
accent
#CD4B19
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#170F14
muted
#857E83

Preview Lab

Preview with #E172C2

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

Preview Lab → · Contrast checker → · Palette generator →

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