#E172BD#E172BD

#E172BD is a light, vivid pink. Relative luminance 0.317; OKLCH L 70.3% C 0.163 H 341.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#E172BD
RGBrgb(225, 114, 189)
HSLhsl(319, 65%, 66%)
HSVhsv(319, 49%, 88%)
CMYKcmyk(0%, 49.3%, 16%, 11.8%)
CIE-LABlab(63.11, 52.29, -19.75)
CIE-LCHlch(63.11, 55.90, 339.31°)
OKLaboklab(70.31% 0.1544 -0.0527)
OKLCHoklch(70.31% 0.163 341.1)
XYZxyz(46.2546, 31.7197, 51.8206)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172BD #72E196
analogous
#CD72E1 #E172BD #E17286
triadic
#E172BD #BDE172 #72BDE1
tetradic
#E172BD #E1CD72 #72E196 #7286E1
square
#E172BD #E1CD72 #72E196 #7286E1
split-complementary
#E172BD #86E172 #72E1CD
monochromatic
#B32685 #D640A5 #E172BD #ECA4D5 #F6D7EC

Accessibility & contrast

On white

2.86
#E172BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#E172BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172BD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172BD#FFFFFF#000000##000000
##E172BD1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC0
Deuteranopia (green-blind)
#969FBA
Tritanopia (blue-blind)
#EC738F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e172bd;
/* rgb */ color: rgb(225, 114, 189);
/* oklch */ color: oklch(70.3% 0.163 341.1);
Tailwind
colors: {
  custom: {
    50: '#ed9ed1',
    500: '#e172bd',
    950: '#000000',
  },
}
SCSS
$custom: #e172bd;
$custom-light: #ed9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#e172bd",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 319.459,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7031,
    "c": 0.16317,
    "h": 341.1
  },
  "luminance": 0.31716
}

Semantic roles & 50–950 ramp

primary
#E172BD
secondary
#C5E9D1
accent
#CD5319
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F14
muted
#857E82

Preview Lab

Preview with #E172BD

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

Preview Lab → · Contrast checker → · Palette generator →

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