#C22DA7#C22DA7

#C22DA7 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.4% C 0.221 H 336.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C22DA7
RGBrgb(194, 45, 167)
HSLhsl(311, 62%, 47%)
HSVhsv(311, 77%, 76%)
CMYKcmyk(0%, 76.8%, 13.9%, 23.9%)
CIE-LABlab(47.16, 68.82, -32.02)
CIE-LCHlch(47.16, 75.90, 335.05°)
OKLaboklab(57.38% 0.2026 -0.0872)
OKLCHoklch(57.38% 0.221 336.7)
XYZxyz(30.1621, 16.1390, 38.0783)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DA7 #2DC248
analogous
#922DC2 #C22DA7 #C22D5D
triadic
#C22DA7 #A7C22D #2DA7C2
tetradic
#C22DA7 #C2922D #2DC248 #2D5DC2
square
#C22DA7 #C2922D #2DC248 #2D5DC2
split-complementary
#C22DA7 #5DC22D #2DC292
monochromatic
#5F1651 #90217C #C22DA7 #D755C0 #E386D2

Accessibility & contrast

On white

4.97
#C22DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C22DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DA7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DA7#FFFFFF#000000##FFFFFF
##C22DA71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3161AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#CC3868
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22da7;
/* rgb */ color: rgb(194, 45, 167);
/* oklch */ color: oklch(57.4% 0.221 336.7);
Tailwind
colors: {
  custom: {
    50: '#d976c1',
    500: '#c22da7',
    950: '#000000',
  },
}
SCSS
$custom: #c22da7;
$custom-light: #d976c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22da7",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 310.872,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.22062,
    "h": 336.7
  },
  "luminance": 0.16136
}

Semantic roles & 50–950 ramp

primary
#C22DA7
secondary
#7ECD8C
accent
#E56042
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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