#C22CAB#C22CAB

#C22CAB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.224 H 335.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C22CAB
RGBrgb(194, 44, 171)
HSLhsl(309, 63%, 47%)
HSVhsv(309, 77%, 76%)
CMYKcmyk(0%, 77.3%, 11.9%, 23.9%)
CIE-LABlab(47.25, 69.67, -34.23)
CIE-LCHlch(47.25, 77.62, 333.83°)
OKLaboklab(57.51% 0.2038 -0.0936)
OKLCHoklch(57.51% 0.224 335.3)
XYZxyz(30.4999, 16.2138, 40.0434)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CAB #2CC243
analogous
#8E2CC2 #C22CAB #C22C60
triadic
#C22CAB #ABC22C #2CABC2
tetradic
#C22CAB #C28E2C #2CC243 #2C60C2
square
#C22CAB #C28E2C #2CC243 #2C60C2
split-complementary
#C22CAB #60C22C #2CC28E
monochromatic
#5E1553 #90217F #C22CAB #D853C4 #E385D5

Accessibility & contrast

On white

4.95
#C22CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C22CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22CAB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22CAB#FFFFFF#000000##FFFFFF
##C22CAB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#CC396A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22cab;
/* rgb */ color: rgb(194, 44, 171);
/* oklch */ color: oklch(57.5% 0.224 335.3);
Tailwind
colors: {
  custom: {
    50: '#d976c4',
    500: '#c22cab',
    950: '#000000',
  },
}
SCSS
$custom: #c22cab;
$custom-light: #d976c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c22cab",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 309.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57509,
    "c": 0.22424,
    "h": 335.3
  },
  "luminance": 0.16211
}

Semantic roles & 50–950 ramp

primary
#C22CAB
secondary
#7DCD89
accent
#E65B42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C22CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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