#E21074#E21074

#E21074 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.3% C 0.234 H 1.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#E21074
RGBrgb(226, 16, 116)
HSLhsl(331, 87%, 47%)
HSVhsv(331, 93%, 89%)
CMYKcmyk(0%, 92.9%, 48.7%, 11.4%)
CIE-LABlab(49.26, 76.08, 2.49)
CIE-LCHlch(49.26, 76.12, 1.87°)
OKLaboklab(59.34% 0.2342 0.0071)
OKLCHoklch(59.34% 0.234 1.7)
XYZxyz(34.7049, 17.8054, 18.1290)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E21074 #10E27E
analogous
#E210DD #E21074 #E21510
triadic
#E21074 #74E210 #1074E2
tetradic
#E21074 #DDE210 #10E27E #1510E2
square
#E21074 #DDE210 #10E27E #1510E2
split-complementary
#E21074 #10E215 #10DDE2
monochromatic
#700839 #A90C57 #E21074 #F13E93 #F577B3

Accessibility & contrast

On white

4.61
#E21074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#E21074 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #E21074
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E21074#FFFFFF#000000##FFFFFF
##E210741.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D76
Deuteranopia (green-blind)
#87826F
Tritanopia (blue-blind)
#F60045
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #e21074;
/* rgb */ color: rgb(226, 16, 116);
/* oklch */ color: oklch(59.3% 0.234 1.7);
Tailwind
colors: {
  custom: {
    50: '#f2729b',
    500: '#e21074',
    950: '#000000',
  },
}
SCSS
$custom: #e21074;
$custom-light: #f2729b;
$custom-dark: #000000;
JSON
{
  "hex": "#e21074",
  "rgb": {
    "r": 226,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 331.429,
    "s": 86.777,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59337,
    "c": 0.23428,
    "h": 1.7
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#E21074
secondary
#71DCA9
accent
#FD992B
background
#FFF7F9
surface
#FFEEF2
border
#D7C9CC
text
#180A0E
muted
#867C7E

Preview Lab

Preview with #E21074

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

Preview Lab → · Contrast checker → · Palette generator →

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