#C22D9E#C22D9E

#C22D9E is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 339.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C22D9E
RGBrgb(194, 45, 158)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 77%, 76%)
CMYKcmyk(0%, 76.8%, 18.6%, 23.9%)
CIE-LABlab(46.73, 67.58, -27.32)
CIE-LCHlch(46.73, 72.90, 337.99°)
OKLaboklab(56.93% 0.2017 -0.0738)
OKLCHoklch(56.93% 0.215 339.9)
XYZxyz(29.3589, 15.8177, 33.8481)
Luminance0.1582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D9E #2DC251
analogous
#9C2DC2 #C22D9E #C22D53
triadic
#C22D9E #9EC22D #2D9EC2
tetradic
#C22D9E #C29C2D #2DC251 #2D53C2
square
#C22D9E #C29C2D #2DC251 #2D53C2
split-complementary
#C22D9E #53C22D #2DC29C
monochromatic
#5F164D #902176 #C22D9E #D755B8 #E386CD

Accessibility & contrast

On white

5.04
#C22D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C22D9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22D9E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D9E#FFFFFF#000000##FFFFFF
##C22D9E1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#6A779B
Tritanopia (blue-blind)
#CE3363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22d9e;
/* rgb */ color: rgb(194, 45, 158);
/* oklch */ color: oklch(56.9% 0.215 339.9);
Tailwind
colors: {
  custom: {
    50: '#d976bb',
    500: '#c22d9e',
    950: '#000000',
  },
}
SCSS
$custom: #c22d9e;
$custom-light: #d976bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d9e",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 314.497,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.21479,
    "h": 339.9
  },
  "luminance": 0.15815
}

Semantic roles & 50–950 ramp

primary
#C22D9E
secondary
#7ECD91
accent
#E56A42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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