#E2129E#E2129E

#E2129E is a mid, highly saturated pink. Relative luminance 0.191; OKLCH L 60.9% C 0.250 H 347.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#E2129E
RGBrgb(226, 18, 158)
HSLhsl(320, 85%, 48%)
HSVhsv(320, 92%, 89%)
CMYKcmyk(0%, 92%, 30.1%, 11.4%)
CIE-LABlab(50.77, 79.73, -20.60)
CIE-LCHlch(50.77, 82.34, 345.51°)
OKLaboklab(60.9% 0.2442 -0.0544)
OKLCHoklch(60.9% 0.25 347.4)
XYZxyz(37.7540, 19.0746, 34.0348)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2129E #12E256
analogous
#BE12E2 #E2129E #E21236
triadic
#E2129E #9EE212 #129EE2
tetradic
#E2129E #E2BE12 #12E256 #1236E2
square
#E2129E #E2BE12 #12E256 #1236E2
split-complementary
#E2129E #36E212 #12E2BE
monochromatic
#71094F #A90D76 #E2129E #F041B7 #F47ACC

Accessibility & contrast

On white

4.36
#E2129E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#E2129E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E2129E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2129E#FFFFFF#000000##000000
##E2129E1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4163A1
Deuteranopia (green-blind)
#7D859A
Tritanopia (blue-blind)
#F3005E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #e2129e;
/* rgb */ color: rgb(226, 18, 158);
/* oklch */ color: oklch(60.9% 0.250 347.4);
Tailwind
colors: {
  custom: {
    50: '#f174ba',
    500: '#e2129e',
    950: '#000000',
  },
}
SCSS
$custom: #e2129e;
$custom-light: #f174ba;
$custom-dark: #000000;
JSON
{
  "hex": "#e2129e",
  "rgb": {
    "r": 226,
    "g": 18,
    "b": 158
  },
  "hsl": {
    "h": 319.615,
    "s": 85.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.25016,
    "h": 347.4
  },
  "luminance": 0.1907
}

Semantic roles & 50–950 ramp

primary
#E2129E
secondary
#74DC96
accent
#FB702C
background
#FFF7FB
surface
#FFEEF6
border
#D7C9D0
text
#180A11
muted
#867C80

Preview Lab

Preview with #E2129E

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

Preview Lab → · Contrast checker → · Palette generator →

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