#C22D9B#C22D9B

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

Color values

HEX#C22D9B
RGBrgb(194, 45, 155)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 76.8%, 20.1%, 23.9%)
CIE-LABlab(46.60, 67.18, -25.74)
CIE-LCHlch(46.60, 71.94, 339.04°)
OKLaboklab(56.79% 0.2013 -0.0694)
OKLCHoklch(56.79% 0.213 341)
XYZxyz(29.1038, 15.7157, 32.5047)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D9B #2DC254
analogous
#9F2DC2 #C22D9B #C22D50
triadic
#C22D9B #9BC22D #2D9BC2
tetradic
#C22D9B #C29F2D #2DC254 #2D50C2
square
#C22D9B #C29F2D #2DC254 #2D50C2
split-complementary
#C22D9B #50C22D #2DC29F
monochromatic
#5F164C #902173 #C22D9B #D755B5 #E386CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22D9B#FFFFFF#000000##FFFFFF
##C22D9B1.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)
#3A5F9E
Deuteranopia (green-blind)
#6B7798
Tritanopia (blue-blind)
#CE3161
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22d9b;
/* rgb */ color: rgb(194, 45, 155);
/* oklch */ color: oklch(56.8% 0.213 341.0);
Tailwind
colors: {
  custom: {
    50: '#d976b8',
    500: '#c22d9b',
    950: '#000000',
  },
}
SCSS
$custom: #c22d9b;
$custom-light: #d976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d9b",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 315.705,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56793,
    "c": 0.2129,
    "h": 341
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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