#E172B3#E172B3

#E172B3 is a light, vivid pink. Relative luminance 0.313; OKLCH L 69.9% C 0.157 H 345.8°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#E172B3
RGBrgb(225, 114, 179)
HSLhsl(325, 65%, 66%)
HSVhsv(325, 49%, 88%)
CMYKcmyk(0%, 49.3%, 20.4%, 11.8%)
CIE-LABlab(62.76, 50.81, -14.60)
CIE-LCHlch(62.76, 52.87, 343.97°)
OKLaboklab(69.93% 0.1517 -0.0385)
OKLCHoklch(69.93% 0.157 345.8)
XYZxyz(45.2064, 31.3004, 46.2997)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172B3 #72E1A0
analogous
#D872E1 #E172B3 #E1727C
triadic
#E172B3 #B3E172 #72B3E1
tetradic
#E172B3 #E1D872 #72E1A0 #727CE1
square
#E172B3 #E1D872 #72E1A0 #727CE1
split-complementary
#E172B3 #7CE172 #72E1D8
monochromatic
#B32678 #D64098 #E172B3 #ECA4CE #F6D7E9

Accessibility & contrast

On white

2.89
#E172B3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#E172B3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172B3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172B3#FFFFFF#000000##000000
##E172B31.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#999FB0
Tritanopia (blue-blind)
#EE718B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e172b3;
/* rgb */ color: rgb(225, 114, 179);
/* oklch */ color: oklch(69.9% 0.157 345.8);
Tailwind
colors: {
  custom: {
    50: '#ed9ec9',
    500: '#e172b3',
    950: '#000000',
  },
}
SCSS
$custom: #e172b3;
$custom-light: #ed9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#e172b3",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 179
  },
  "hsl": {
    "h": 324.865,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69933,
    "c": 0.15654,
    "h": 345.8
  },
  "luminance": 0.31297
}

Semantic roles & 50–950 ramp

primary
#E172B3
secondary
#C5E9D4
accent
#CD6319
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #E172B3

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

Preview Lab → · Contrast checker → · Palette generator →

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