#C22D9A#C22D9A

#C22D9A is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.212 H 341.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C22D9A
RGBrgb(194, 45, 154)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 76.8%, 20.6%, 23.9%)
CIE-LABlab(46.55, 67.05, -25.21)
CIE-LCHlch(46.55, 71.63, 339.40°)
OKLaboklab(56.75% 0.2012 -0.0679)
OKLCHoklch(56.75% 0.212 341.4)
XYZxyz(29.0202, 15.6822, 32.0642)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D9A #2DC255
analogous
#9F2DC2 #C22D9A #C22D50
triadic
#C22D9A #9AC22D #2D9AC2
tetradic
#C22D9A #C29F2D #2DC255 #2D50C2
square
#C22D9A #C29F2D #2DC255 #2D50C2
split-complementary
#C22D9A #50C22D #2DC29F
monochromatic
#5F164B #902173 #C22D9A #D755B4 #E386CA

Accessibility & contrast

On white

5.08
#C22D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22D9A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D9A#FFFFFF#000000##FFFFFF
##C22D9A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9D
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#CE3061
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22d9a;
/* rgb */ color: rgb(194, 45, 154);
/* oklch */ color: oklch(56.7% 0.212 341.4);
Tailwind
colors: {
  custom: {
    50: '#d976b8',
    500: '#c22d9a',
    950: '#000000',
  },
}
SCSS
$custom: #c22d9a;
$custom-light: #d976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d9a",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 316.107,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.21229,
    "h": 341.4
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#C22D9A
secondary
#7ECD93
accent
#E56E42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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