#C22A9A#C22A9A

#C22A9A is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.215 H 341.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C22A9A
RGBrgb(194, 42, 154)
HSLhsl(316, 64%, 46%)
HSVhsv(316, 78%, 76%)
CMYKcmyk(0%, 78.4%, 20.6%, 23.9%)
CIE-LABlab(46.26, 67.90, -25.67)
CIE-LCHlch(46.26, 72.59, 339.29°)
OKLaboklab(56.53% 0.2037 -0.0691)
OKLCHoklch(56.53% 0.215 341.3)
XYZxyz(28.9098, 15.4614, 32.0274)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9A #2AC252
analogous
#9E2AC2 #C22A9A #C22A4E
triadic
#C22A9A #9AC22A #2A9AC2
tetradic
#C22A9A #C29E2A #2AC252 #2A4EC2
square
#C22A9A #C29E2A #2AC252 #2A4EC2
split-complementary
#C22A9A #4EC22A #2AC29E
monochromatic
#5D144A #901F72 #C22A9A #D950B5 #E482CA

Accessibility & contrast

On white

5.13
#C22A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C22A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A9A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A9A#FFFFFF#000000##FFFFFF
##C22A9A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395E9D
Deuteranopia (green-blind)
#6A7697
Tritanopia (blue-blind)
#CE2E60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9a;
/* rgb */ color: rgb(194, 42, 154);
/* oklch */ color: oklch(56.5% 0.215 341.3);
Tailwind
colors: {
  custom: {
    50: '#d975b8',
    500: '#c22a9a',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9a;
$custom-light: #d975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9a",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 315.789,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.21514,
    "h": 341.3
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#C22A9A
secondary
#7BCD90
accent
#E76C40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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