#C22AA1#C22AA1

#C22AA1 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.9% C 0.220 H 338.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C22AA1
RGBrgb(194, 42, 161)
HSLhsl(313, 64%, 46%)
HSVhsv(313, 78%, 76%)
CMYKcmyk(0%, 78.4%, 17%, 23.9%)
CIE-LABlab(46.58, 68.83, -29.35)
CIE-LCHlch(46.58, 74.82, 336.90°)
OKLaboklab(56.87% 0.2046 -0.0796)
OKLCHoklch(56.87% 0.22 338.7)
XYZxyz(29.5099, 15.7014, 35.1878)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22AA1 #2AC24B
analogous
#972AC2 #C22AA1 #C22A55
triadic
#C22AA1 #A1C22A #2AA1C2
tetradic
#C22AA1 #C2972A #2AC24B #2A55C2
square
#C22AA1 #C2972A #2AC24B #2A55C2
split-complementary
#C22AA1 #55C22A #2AC297
monochromatic
#5D144E #901F77 #C22AA1 #D950BB #E482CF

Accessibility & contrast

On white

5.07
#C22AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C22AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22AA1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22AA1#FFFFFF#000000##FFFFFF
##C22AA11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#67779E
Tritanopia (blue-blind)
#CD3264
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22aa1;
/* rgb */ color: rgb(194, 42, 161);
/* oklch */ color: oklch(56.9% 0.220 338.7);
Tailwind
colors: {
  custom: {
    50: '#d975bd',
    500: '#c22aa1',
    950: '#000000',
  },
}
SCSS
$custom: #c22aa1;
$custom-light: #d975bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22aa1",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 313.026,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.21951,
    "h": 338.7
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#C22AA1
secondary
#7BCD8D
accent
#E76540
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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