#E151B7#E151B7

#E151B7 is a light, highly saturated pink. Relative luminance 0.253; OKLCH L 66.0% C 0.208 H 341.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#E151B7
RGBrgb(225, 81, 183)
HSLhsl(318, 71%, 60%)
HSVhsv(318, 64%, 88%)
CMYKcmyk(0%, 64%, 18.7%, 11.8%)
CIE-LABlab(57.38, 66.17, -25.10)
CIE-LCHlch(57.38, 70.77, 339.23°)
OKLaboklab(66% 0.1972 -0.0674)
OKLCHoklch(66% 0.208 341.1)
XYZxyz(42.5421, 25.3152, 47.4364)
Luminance0.2531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E151B7 #51E17B
analogous
#C351E1 #E151B7 #E1516F
triadic
#E151B7 #B7E151 #51B7E1
tetradic
#E151B7 #E1C351 #51E17B #516FE1
square
#E151B7 #E1C351 #51E17B #516FE1
split-complementary
#E151B7 #6FE151 #51E1C3
monochromatic
#9D1B77 #D1249E #E151B7 #EA85CD #F3B9E2

Accessibility & contrast

On white

3.46
#E151B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#E151B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E151B7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E151B7#FFFFFF#000000##000000
##E151B71.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#8692B3
Tritanopia (blue-blind)
#EE537D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #e151b7;
/* rgb */ color: rgb(225, 81, 183);
/* oklch */ color: oklch(66.0% 0.208 341.1);
Tailwind
colors: {
  custom: {
    50: '#ee8bcc',
    500: '#e151b7',
    950: '#000000',
  },
}
SCSS
$custom: #e151b7;
$custom-light: #ee8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#e151b7",
  "rgb": {
    "r": 225,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 317.5,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.65997,
    "c": 0.20841,
    "h": 341.1
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#E151B7
secondary
#ABE3BB
accent
#ED6F3A
background
#FFF8FC
surface
#FEF0F9
border
#D6CBD2
text
#170D13
muted
#857D82

Preview Lab

Preview with #E151B7

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

Preview Lab → · Contrast checker → · Palette generator →

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