#E171BF#E171BF

#E171BF is a light, vivid pink. Relative luminance 0.316; OKLCH L 70.2% C 0.166 H 340.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#E171BF
RGBrgb(225, 113, 191)
HSLhsl(318, 65%, 66%)
HSVhsv(318, 50%, 88%)
CMYKcmyk(0%, 49.8%, 15.1%, 11.8%)
CIE-LABlab(63.00, 53.09, -21.06)
CIE-LCHlch(63.00, 57.11, 338.36°)
OKLaboklab(70.25% 0.1564 -0.0564)
OKLCHoklch(70.25% 0.166 340.2)
XYZxyz(46.3610, 31.5828, 52.9344)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171BF #71E193
analogous
#CB71E1 #E171BF #E17187
triadic
#E171BF #BFE171 #71BFE1
tetradic
#E171BF #E1CB71 #71E193 #7187E1
square
#E171BF #E1CB71 #71E193 #7187E1
split-complementary
#E171BF #87E171 #71E1CB
monochromatic
#B22687 #D63EA8 #E171BF #ECA4D6 #F6D6ED

Accessibility & contrast

On white

2.87
#E171BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#E171BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171BF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171BF#FFFFFF#000000##000000
##E171BF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC2
Deuteranopia (green-blind)
#959FBC
Tritanopia (blue-blind)
#EC738F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e171bf;
/* rgb */ color: rgb(225, 113, 191);
/* oklch */ color: oklch(70.2% 0.166 340.2);
Tailwind
colors: {
  custom: {
    50: '#ed9dd2',
    500: '#e171bf',
    950: '#000000',
  },
}
SCSS
$custom: #e171bf;
$custom-light: #ed9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#e171bf",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 318.214,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70249,
    "c": 0.1662,
    "h": 340.2
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E171BF

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

Preview Lab → · Contrast checker → · Palette generator →

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