#E22FC2#E22FC2

#E22FC2 is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.8% C 0.253 H 336.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#E22FC2
RGBrgb(226, 47, 194)
HSLhsl(311, 76%, 54%)
HSVhsv(311, 79%, 89%)
CMYKcmyk(0%, 79.2%, 14.2%, 11.4%)
CIE-LABlab(54.13, 78.90, -36.48)
CIE-LCHlch(54.13, 86.92, 335.18°)
OKLaboklab(63.83% 0.2327 -0.0994)
OKLCHoklch(63.83% 0.253 336.9)
XYZxyz(42.1190, 22.1009, 53.0762)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E22FC2 #2FE24F
analogous
#A82FE2 #E22FC2 #E22F68
triadic
#E22FC2 #C2E22F #2FC2E2
tetradic
#E22FC2 #E2A82F #2FE24F #2F68E2
square
#E22FC2 #E2A82F #2FE24F #2F68E2
split-complementary
#E22FC2 #68E22F #2FE2A8
monochromatic
#841270 #BA1A9D #E22FC2 #E965D2 #F19AE2

Accessibility & contrast

On white

3.87
#E22FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#E22FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E22FC2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E22FC2#FFFFFF#000000##000000
##E22FC21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3570C6
Deuteranopia (green-blind)
#768BBE
Tritanopia (blue-blind)
#EE3D78
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #e22fc2;
/* rgb */ color: rgb(226, 47, 194);
/* oklch */ color: oklch(63.8% 0.253 336.9);
Tailwind
colors: {
  custom: {
    50: '#f07dd5',
    500: '#e22fc2',
    950: '#000000',
  },
}
SCSS
$custom: #e22fc2;
$custom-light: #f07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#e22fc2",
  "rgb": {
    "r": 226,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 310.726,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.25303,
    "h": 336.9
  },
  "luminance": 0.22097
}

Semantic roles & 50–950 ramp

primary
#E22FC2
secondary
#90DD9E
accent
#F25736
background
#FFF8FD
surface
#FFEFFA
border
#D7CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #E22FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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