#C22DA1#C22DA1

#C22DA1 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.217 H 338.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C22DA1
RGBrgb(194, 45, 161)
HSLhsl(313, 62%, 47%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 76.8%, 17%, 23.9%)
CIE-LABlab(46.87, 67.99, -28.90)
CIE-LCHlch(46.87, 73.87, 336.97°)
OKLaboklab(57.08% 0.202 -0.0783)
OKLCHoklch(57.08% 0.217 338.8)
XYZxyz(29.6203, 15.9222, 35.2247)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DA1 #2DC24E
analogous
#992DC2 #C22DA1 #C22D56
triadic
#C22DA1 #A1C22D #2DA1C2
tetradic
#C22DA1 #C2992D #2DC24E #2D56C2
square
#C22DA1 #C2992D #2DC24E #2D56C2
split-complementary
#C22DA1 #56C22D #2DC299
monochromatic
#5F164F #902178 #C22DA1 #D755BB #E386CF

Accessibility & contrast

On white

5.02
#C22DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C22DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DA1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DA1#FFFFFF#000000##FFFFFF
##C22DA11.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#CD3465
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22da1;
/* rgb */ color: rgb(194, 45, 161);
/* oklch */ color: oklch(57.1% 0.217 338.8);
Tailwind
colors: {
  custom: {
    50: '#d976bd',
    500: '#c22da1',
    950: '#000000',
  },
}
SCSS
$custom: #c22da1;
$custom-light: #d976bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22da1",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 313.289,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.21669,
    "h": 338.8
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#C22DA1
secondary
#7ECD90
accent
#E56642
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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