#E22F87#E22F87

#E22F87 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.4% C 0.222 H 356.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#E22F87
RGBrgb(226, 47, 135)
HSLhsl(331, 76%, 54%)
HSVhsv(331, 79%, 89%)
CMYKcmyk(0%, 79.2%, 40.3%, 11.4%)
CIE-LABlab(51.79, 72.09, -5.32)
CIE-LCHlch(51.79, 72.29, 355.78°)
OKLaboklab(61.37% 0.2219 -0.0131)
OKLCHoklch(61.37% 0.222 356.6)
XYZxyz(36.7564, 19.9559, 24.8333)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22F87 #2FE28A
analogous
#E22FE0 #E22F87 #E2302F
triadic
#E22F87 #87E22F #2F87E2
tetradic
#E22F87 #E0E22F #2FE28A #302FE2
square
#E22F87 #E0E22F #2FE28A #302FE2
split-complementary
#E22F87 #2FE230 #2FE0E2
monochromatic
#84124A #BA1A69 #E22F87 #E965A6 #F19AC5

Accessibility & contrast

On white

4.21
#E22F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#E22F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22F87
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22F87#FFFFFF#000000##000000
##E22F871.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#576689
Deuteranopia (green-blind)
#898783
Tritanopia (blue-blind)
#F50958
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #e22f87;
/* rgb */ color: rgb(226, 47, 135);
/* oklch */ color: oklch(61.4% 0.222 356.6);
Tailwind
colors: {
  custom: {
    50: '#f17ba9',
    500: '#e22f87',
    950: '#000000',
  },
}
SCSS
$custom: #e22f87;
$custom-light: #f17ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#e22f87",
  "rgb": {
    "r": 226,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 330.503,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61368,
    "c": 0.22224,
    "h": 356.6
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#E22F87
secondary
#90DDB7
accent
#F29536
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#180B10
muted
#867C7F

Preview Lab

Preview with #E22F87

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

Preview Lab → · Contrast checker → · Palette generator →

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