#E158B2#E158B2

#E158B2 is a light, vivid pink. Relative luminance 0.262; OKLCH L 66.6% C 0.196 H 343.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#E158B2
RGBrgb(225, 88, 178)
HSLhsl(321, 70%, 61%)
HSVhsv(321, 61%, 88%)
CMYKcmyk(0%, 60.9%, 20.9%, 11.8%)
CIE-LABlab(58.23, 62.61, -20.91)
CIE-LCHlch(58.23, 66.01, 341.53°)
OKLaboklab(66.56% 0.1875 -0.0557)
OKLCHoklch(66.56% 0.196 343.4)
XYZxyz(42.5782, 26.2053, 44.9265)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E158B2 #58E187
analogous
#CC58E1 #E158B2 #E1586E
triadic
#E158B2 #B2E158 #58B2E1
tetradic
#E158B2 #E1CC58 #58E187 #586EE1
square
#E158B2 #E1CC58 #58E187 #586EE1
split-complementary
#E158B2 #6EE158 #58E1CC
monochromatic
#A21D74 #D52699 #E158B2 #EA8CCA #F4C0E2

Accessibility & contrast

On white

3.37
#E158B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#E158B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E158B2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E158B2#FFFFFF#000000##000000
##E158B21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#8B94AF
Tritanopia (blue-blind)
#EE587D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #e158b2;
/* rgb */ color: rgb(225, 88, 178);
/* oklch */ color: oklch(66.6% 0.196 343.4);
Tailwind
colors: {
  custom: {
    50: '#ee8ec9',
    500: '#e158b2',
    950: '#000000',
  },
}
SCSS
$custom: #e158b2;
$custom-light: #ee8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#e158b2",
  "rgb": {
    "r": 225,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 320.584,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.19562,
    "h": 343.4
  },
  "luminance": 0.26201
}

Semantic roles & 50–950 ramp

primary
#E158B2
secondary
#B1E4C2
accent
#D25514
background
#FFF9FC
surface
#FEF1F8
border
#D6CBD1
text
#170D13
muted
#857E82

Preview Lab

Preview with #E158B2

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

Preview Lab → · Contrast checker → · Palette generator →

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