#E157C2#E157C2

#E157C2 is a light, highly saturated pink. Relative luminance 0.267; OKLCH L 67.1% C 0.208 H 337.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#E157C2
RGBrgb(225, 87, 194)
HSLhsl(313, 70%, 61%)
HSVhsv(313, 61%, 88%)
CMYKcmyk(0%, 61.3%, 13.8%, 11.8%)
CIE-LABlab(58.72, 65.31, -29.35)
CIE-LCHlch(58.72, 71.60, 335.80°)
OKLaboklab(67.12% 0.1919 -0.0794)
OKLCHoklch(67.12% 0.208 337.5)
XYZxyz(44.1978, 26.7227, 53.8587)
Luminance0.2672 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E157C2 #57E176
analogous
#BB57E1 #E157C2 #E1577D
triadic
#E157C2 #C2E157 #57C2E1
tetradic
#E157C2 #E1BB57 #57E176 #577DE1
square
#E157C2 #E1BB57 #57E176 #577DE1
split-complementary
#E157C2 #7DE157 #57E1BB
monochromatic
#A11D83 #D526AE #E157C2 #EA8BD5 #F4BFE8

Accessibility & contrast

On white

3.31
#E157C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#E157C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E157C2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E157C2#FFFFFF#000000##000000
##E157C21.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B80C5
Deuteranopia (green-blind)
#8595BE
Tritanopia (blue-blind)
#EC5D85
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #e157c2;
/* rgb */ color: rgb(225, 87, 194);
/* oklch */ color: oklch(67.1% 0.208 337.5);
Tailwind
colors: {
  custom: {
    50: '#ee8ed4',
    500: '#e157c2',
    950: '#000000',
  },
}
SCSS
$custom: #e157c2;
$custom-light: #ee8ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#e157c2",
  "rgb": {
    "r": 225,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 313.478,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.67123,
    "c": 0.20768,
    "h": 337.5
  },
  "luminance": 0.26719
}

Semantic roles & 50–950 ramp

primary
#E157C2
secondary
#B0E4BC
accent
#D23E14
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E157C2

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

Preview Lab → · Contrast checker → · Palette generator →

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