#E22F8D#E22F8D

#E22F8D is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.6% C 0.225 H 354.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#E22F8D
RGBrgb(226, 47, 141)
HSLhsl(328, 76%, 54%)
HSVhsv(328, 79%, 89%)
CMYKcmyk(0%, 79.2%, 37.6%, 11.4%)
CIE-LABlab(51.98, 72.68, -8.63)
CIE-LCHlch(51.98, 73.19, 353.23°)
OKLaboklab(61.58% 0.2235 -0.0219)
OKLCHoklch(61.58% 0.225 354.4)
XYZxyz(37.1908, 20.1296, 27.1211)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22F8D #2FE284
analogous
#DE2FE2 #E22F8D #E22F33
triadic
#E22F8D #8DE22F #2F8DE2
tetradic
#E22F8D #E2DE2F #2FE284 #2F33E2
square
#E22F8D #E2DE2F #2FE284 #2F33E2
split-complementary
#E22F8D #33E22F #2FE2DE
monochromatic
#84124E #BA1A6E #E22F8D #E965AA #F19AC8

Accessibility & contrast

On white

4.18
#E22F8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#E22F8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22F8D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22F8D#FFFFFF#000000##000000
##E22F8D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#F4125B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #e22f8d;
/* rgb */ color: rgb(226, 47, 141);
/* oklch */ color: oklch(61.6% 0.225 354.4);
Tailwind
colors: {
  custom: {
    50: '#f17bae',
    500: '#e22f8d',
    950: '#000000',
  },
}
SCSS
$custom: #e22f8d;
$custom-light: #f17bae;
$custom-dark: #000000;
JSON
{
  "hex": "#e22f8d",
  "rgb": {
    "r": 226,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 328.492,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.2246,
    "h": 354.4
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#E22F8D
secondary
#90DDB4
accent
#F28F36
background
#FFF8FA
surface
#FFEFF4
border
#D7CACE
text
#180B10
muted
#867C7F

Preview Lab

Preview with #E22F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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