#C22D9D#C22D9D

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

Color values

HEX#C22D9D
RGBrgb(194, 45, 157)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 77%, 76%)
CMYKcmyk(0%, 76.8%, 19.1%, 23.9%)
CIE-LABlab(46.69, 67.45, -26.79)
CIE-LCHlch(46.69, 72.58, 338.33°)
OKLaboklab(56.89% 0.2016 -0.0724)
OKLCHoklch(56.89% 0.214 340.3)
XYZxyz(29.2732, 15.7834, 33.3966)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D9D #2DC252
analogous
#9C2DC2 #C22D9D #C22D53
triadic
#C22D9D #9DC22D #2D9DC2
tetradic
#C22D9D #C29C2D #2DC252 #2D53C2
square
#C22D9D #C29C2D #2DC252 #2D53C2
split-complementary
#C22D9D #53C22D #2DC29C
monochromatic
#5F164D #902175 #C22D9D #D755B7 #E386CC

Accessibility & contrast

On white

5.05
#C22D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22D9D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D9D#FFFFFF#000000##FFFFFF
##C22D9D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A0
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#CE3262
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22d9d;
/* rgb */ color: rgb(194, 45, 157);
/* oklch */ color: oklch(56.9% 0.214 340.3);
Tailwind
colors: {
  custom: {
    50: '#d976ba',
    500: '#c22d9d',
    950: '#000000',
  },
}
SCSS
$custom: #c22d9d;
$custom-light: #d976ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d9d",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 314.899,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.21416,
    "h": 340.3
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#C22D9D
secondary
#7ECD92
accent
#E56B42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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