#C22C8A#C22C8A

#C22C8A is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.204 H 347.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C22C8A
RGBrgb(194, 44, 138)
HSLhsl(322, 63%, 47%)
HSVhsv(322, 77%, 76%)
CMYKcmyk(0%, 77.3%, 28.9%, 23.9%)
CIE-LABlab(45.78, 65.34, -16.75)
CIE-LCHlch(45.78, 67.46, 345.62°)
OKLaboklab(55.97% 0.1992 -0.0442)
OKLCHoklch(55.97% 0.204 347.5)
XYZxyz(27.7377, 15.1089, 25.4954)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C8A #2CC264
analogous
#AF2CC2 #C22C8A #C22C3F
triadic
#C22C8A #8AC22C #2C8AC2
tetradic
#C22C8A #C2AF2C #2CC264 #2C3FC2
square
#C22C8A #C2AF2C #2CC264 #2C3FC2
split-complementary
#C22C8A #3FC22C #2CC2AF
monochromatic
#5E1543 #902167 #C22C8A #D853A6 #E385C0

Accessibility & contrast

On white

5.22
#C22C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C22C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C8A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C8A#FFFFFF#000000##FFFFFF
##C22C8A1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8C
Deuteranopia (green-blind)
#707687
Tritanopia (blue-blind)
#D02558
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22c8a;
/* rgb */ color: rgb(194, 44, 138);
/* oklch */ color: oklch(56.0% 0.204 347.5);
Tailwind
colors: {
  custom: {
    50: '#d975ac',
    500: '#c22c8a',
    950: '#000000',
  },
}
SCSS
$custom: #c22c8a;
$custom-light: #d975ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c8a",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 322.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55968,
    "c": 0.20404,
    "h": 347.5
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#C22C8A
secondary
#7DCD9B
accent
#E67F42
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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