#C22EA8#C22EA8

#C22EA8 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.220 H 336.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C22EA8
RGBrgb(194, 46, 168)
HSLhsl(311, 62%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 76.3%, 13.4%, 23.9%)
CIE-LABlab(47.31, 68.67, -32.38)
CIE-LCHlch(47.31, 75.92, 334.76°)
OKLaboklab(57.5% 0.2019 -0.0883)
OKLCHoklch(57.5% 0.22 336.4)
XYZxyz(30.2935, 16.2533, 38.5800)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA8 #2EC248
analogous
#922EC2 #C22EA8 #C22E5E
triadic
#C22EA8 #A8C22E #2EA8C2
tetradic
#C22EA8 #C2922E #2EC248 #2E5EC2
square
#C22EA8 #C2922E #2EC248 #2E5EC2
split-complementary
#C22EA8 #5EC22E #2EC292
monochromatic
#5F1752 #91227D #C22EA8 #D756C0 #E388D3

Accessibility & contrast

On white

4.94
#C22EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C22EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EA8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EA8#FFFFFF#000000##FFFFFF
##C22EA81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#CC3969
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ea8;
/* rgb */ color: rgb(194, 46, 168);
/* oklch */ color: oklch(57.5% 0.220 336.4);
Tailwind
colors: {
  custom: {
    50: '#d977c2',
    500: '#c22ea8',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea8;
$custom-light: #d977c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea8",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 310.541,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.22032,
    "h": 336.4
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

primary
#C22EA8
secondary
#7FCC8D
accent
#E55F43
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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