#C22DA6#C22DA6

#C22DA6 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.220 H 337.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C22DA6
RGBrgb(194, 45, 166)
HSLhsl(311, 62%, 47%)
HSVhsv(311, 77%, 76%)
CMYKcmyk(0%, 76.8%, 14.4%, 23.9%)
CIE-LABlab(47.11, 68.68, -31.50)
CIE-LCHlch(47.11, 75.56, 335.36°)
OKLaboklab(57.33% 0.2026 -0.0858)
OKLCHoklch(57.33% 0.22 337.1)
XYZxyz(30.0701, 16.1021, 37.5934)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22DA6 #2DC249
analogous
#942DC2 #C22DA6 #C22D5C
triadic
#C22DA6 #A6C22D #2DA6C2
tetradic
#C22DA6 #C2942D #2DC249 #2D5CC2
square
#C22DA6 #C2942D #2DC249 #2D5CC2
split-complementary
#C22DA6 #5CC22D #2DC294
monochromatic
#5F1651 #90217B #C22DA6 #D755BF #E386D2

Accessibility & contrast

On white

4.98
#C22DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C22DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22DA6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22DA6#FFFFFF#000000##FFFFFF
##C22DA61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A9
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#CC3767
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22da6;
/* rgb */ color: rgb(194, 45, 166);
/* oklch */ color: oklch(57.3% 0.220 337.1);
Tailwind
colors: {
  custom: {
    50: '#d976c1',
    500: '#c22da6',
    950: '#000000',
  },
}
SCSS
$custom: #c22da6;
$custom-light: #d976c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22da6",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 311.275,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.21996,
    "h": 337.1
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#C22DA6
secondary
#7ECD8D
accent
#E56142
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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