#E172BF#E172BF

#E172BF is a light, vivid pink. Relative luminance 0.318; OKLCH L 70.4% C 0.165 H 340.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#E172BF
RGBrgb(225, 114, 191)
HSLhsl(318, 65%, 66%)
HSVhsv(318, 49%, 88%)
CMYKcmyk(0%, 49.3%, 15.1%, 11.8%)
CIE-LABlab(63.18, 52.60, -20.78)
CIE-LCHlch(63.18, 56.55, 338.45°)
OKLaboklab(70.39% 0.1549 -0.0556)
OKLCHoklch(70.39% 0.165 340.3)
XYZxyz(46.4732, 31.8071, 52.9718)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172BF #72E194
analogous
#CB72E1 #E172BF #E17288
triadic
#E172BF #BFE172 #72BFE1
tetradic
#E172BF #E1CB72 #72E194 #7288E1
square
#E172BF #E1CB72 #72E194 #7288E1
split-complementary
#E172BF #88E172 #72E1CB
monochromatic
#B32688 #D640A8 #E172BF #ECA4D6 #F6D7ED

Accessibility & contrast

On white

2.85
#E172BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#E172BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172BF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172BF#FFFFFF#000000##000000
##E172BF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#778EC2
Deuteranopia (green-blind)
#959FBC
Tritanopia (blue-blind)
#EC7490
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e172bf;
/* rgb */ color: rgb(225, 114, 191);
/* oklch */ color: oklch(70.4% 0.165 340.3);
Tailwind
colors: {
  custom: {
    50: '#ed9ed2',
    500: '#e172bf',
    950: '#000000',
  },
}
SCSS
$custom: #e172bf;
$custom-light: #ed9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#e172bf",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 318.378,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70388,
    "c": 0.16458,
    "h": 340.3
  },
  "luminance": 0.31804
}

Semantic roles & 50–950 ramp

primary
#E172BF
secondary
#C5E9D0
accent
#CD5019
background
#FEF9FC
surface
#FDF2F9
border
#D5CCD2
text
#170F14
muted
#857E82

Preview Lab

Preview with #E172BF

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

Preview Lab → · Contrast checker → · Palette generator →

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