#C22EAB#C22EAB

#C22EAB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.222 H 335.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C22EAB
RGBrgb(194, 46, 171)
HSLhsl(309, 62%, 47%)
HSVhsv(309, 76%, 76%)
CMYKcmyk(0%, 76.3%, 11.9%, 23.9%)
CIE-LABlab(47.45, 69.10, -33.92)
CIE-LCHlch(47.45, 76.98, 333.85°)
OKLaboklab(57.65% 0.2021 -0.0927)
OKLCHoklch(57.65% 0.222 335.4)
XYZxyz(30.5762, 16.3664, 40.0689)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EAB #2EC245
analogous
#8F2EC2 #C22EAB #C22E61
triadic
#C22EAB #ABC22E #2EABC2
tetradic
#C22EAB #C28F2E #2EC245 #2E61C2
square
#C22EAB #C28F2E #2EC245 #2E61C2
split-complementary
#C22EAB #61C22E #2EC28F
monochromatic
#5F1754 #91227F #C22EAB #D756C3 #E388D5

Accessibility & contrast

On white

4.91
#C22EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C22EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EAB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EAB#FFFFFF#000000##FFFFFF
##C22EAB1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AE
Deuteranopia (green-blind)
#6578A8
Tritanopia (blue-blind)
#CC3B6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22eab;
/* rgb */ color: rgb(194, 46, 171);
/* oklch */ color: oklch(57.7% 0.222 335.4);
Tailwind
colors: {
  custom: {
    50: '#d977c4',
    500: '#c22eab',
    950: '#000000',
  },
}
SCSS
$custom: #c22eab;
$custom-light: #d977c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c22eab",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 309.324,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.22234,
    "h": 335.4
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#C22EAB
secondary
#7FCC8B
accent
#E55C43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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