#E172C8#E172C8

#E172C8 is a light, vivid pink. Relative luminance 0.322; OKLCH L 70.8% C 0.171 H 336.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#E172C8
RGBrgb(225, 114, 200)
HSLhsl(314, 65%, 66%)
HSVhsv(314, 49%, 88%)
CMYKcmyk(0%, 49.3%, 11.1%, 11.8%)
CIE-LABlab(63.52, 54.01, -25.35)
CIE-LCHlch(63.52, 59.66, 334.86°)
OKLaboklab(70.75% 0.157 -0.0684)
OKLCHoklch(70.75% 0.171 336.5)
XYZxyz(47.4942, 32.2156, 58.3491)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172C8 #72E18B
analogous
#C372E1 #E172C8 #E17291
triadic
#E172C8 #C8E172 #72C8E1
tetradic
#E172C8 #E1C372 #72E18B #7291E1
square
#E172C8 #E1C372 #72E18B #7291E1
split-complementary
#E172C8 #91E172 #72E1C3
monochromatic
#B32693 #D640B4 #E172C8 #ECA4DC #F6D7EF

Accessibility & contrast

On white

2.82
#E172C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#E172C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172C8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172C8#FFFFFF#000000##000000
##E172C81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#748FCB
Deuteranopia (green-blind)
#93A0C5
Tritanopia (blue-blind)
#EB7794
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e172c8;
/* rgb */ color: rgb(225, 114, 200);
/* oklch */ color: oklch(70.8% 0.171 336.5);
Tailwind
colors: {
  custom: {
    50: '#ed9ed9',
    500: '#e172c8',
    950: '#000000',
  },
}
SCSS
$custom: #e172c8;
$custom-light: #ed9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#e172c8",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 313.514,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7075,
    "c": 0.17127,
    "h": 336.5
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#E172C8
secondary
#C5E9CE
accent
#CD4119
background
#FEFAFD
surface
#FDF3FA
border
#D5CDD3
text
#170F14
muted
#857F83

Preview Lab

Preview with #E172C8

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

Preview Lab → · Contrast checker → · Palette generator →

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