#E158C5#E158C5

#E158C5 is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 67.4% C 0.208 H 336.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#E158C5
RGBrgb(225, 88, 197)
HSLhsl(312, 70%, 61%)
HSVhsv(312, 61%, 88%)
CMYKcmyk(0%, 60.9%, 12.4%, 11.8%)
CIE-LABlab(58.99, 65.34, -30.63)
CIE-LCHlch(58.99, 72.17, 334.88°)
OKLaboklab(67.37% 0.1911 -0.0831)
OKLCHoklch(67.37% 0.208 336.5)
XYZxyz(44.6196, 27.0218, 55.6782)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158C5 #58E174
analogous
#B958E1 #E158C5 #E15881
triadic
#E158C5 #C5E158 #58C5E1
tetradic
#E158C5 #E1B958 #58E174 #5881E1
square
#E158C5 #E1B958 #58E174 #5881E1
split-complementary
#E158C5 #81E158 #58E1B9
monochromatic
#A21D86 #D526B2 #E158C5 #EA8CD7 #F4C0E9

Accessibility & contrast

On white

3.28
#E158C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#E158C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158C5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158C5#FFFFFF#000000##000000
##E158C51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81C8
Deuteranopia (green-blind)
#8596C1
Tritanopia (blue-blind)
#EC5F87
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #e158c5;
/* rgb */ color: rgb(225, 88, 197);
/* oklch */ color: oklch(67.4% 0.208 336.5);
Tailwind
colors: {
  custom: {
    50: '#ee8fd7',
    500: '#e158c5',
    950: '#000000',
  },
}
SCSS
$custom: #e158c5;
$custom-light: #ee8fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#e158c5",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 197
  },
  "hsl": {
    "h": 312.263,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.20842,
    "h": 336.5
  },
  "luminance": 0.27018
}

Semantic roles & 50–950 ramp

primary
#E158C5
secondary
#B1E4BB
accent
#D23B14
background
#FFF9FD
surface
#FEF1FA
border
#D6CBD3
text
#170D14
muted
#857E83

Preview Lab

Preview with #E158C5

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

Preview Lab → · Contrast checker → · Palette generator →

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