#C22C9A#C22C9A

#C22C9A is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.7% C 0.213 H 341.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C22C9A
RGBrgb(194, 44, 154)
HSLhsl(316, 63%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 77.3%, 20.6%, 23.9%)
CIE-LABlab(46.45, 67.34, -25.36)
CIE-LCHlch(46.45, 71.96, 339.36°)
OKLaboklab(56.67% 0.202 -0.0683)
OKLCHoklch(56.67% 0.213 341.3)
XYZxyz(28.9825, 15.6068, 32.0517)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C9A #2CC254
analogous
#9F2CC2 #C22C9A #C22C4F
triadic
#C22C9A #9AC22C #2C9AC2
tetradic
#C22C9A #C29F2C #2CC254 #2C4FC2
square
#C22C9A #C29F2C #2CC254 #2C4FC2
split-complementary
#C22C9A #4FC22C #2CC29F
monochromatic
#5E154B #902172 #C22C9A #D853B5 #E385CA

Accessibility & contrast

On white

5.10
#C22C9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C22C9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C9A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C9A#FFFFFF#000000##FFFFFF
##C22C9A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5F9D
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#CE2F60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22c9a;
/* rgb */ color: rgb(194, 44, 154);
/* oklch */ color: oklch(56.7% 0.213 341.3);
Tailwind
colors: {
  custom: {
    50: '#d976b8',
    500: '#c22c9a',
    950: '#000000',
  },
}
SCSS
$custom: #c22c9a;
$custom-light: #d976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c9a",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 316,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.21326,
    "h": 341.3
  },
  "luminance": 0.15604
}

Semantic roles & 50–950 ramp

primary
#C22C9A
secondary
#7DCD92
accent
#E66E42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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