#C22A96#C22A96

#C22A96 is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 342.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C22A96
RGBrgb(194, 42, 150)
HSLhsl(317, 64%, 46%)
HSVhsv(317, 78%, 76%)
CMYKcmyk(0%, 78.4%, 22.7%, 23.9%)
CIE-LABlab(46.08, 67.38, -23.54)
CIE-LCHlch(46.08, 71.37, 340.75°)
OKLaboklab(56.35% 0.2032 -0.0631)
OKLCHoklch(56.35% 0.213 342.7)
XYZxyz(28.5822, 15.3303, 30.3021)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A96 #2AC256
analogous
#A22AC2 #C22A96 #C22A4A
triadic
#C22A96 #96C22A #2A96C2
tetradic
#C22A96 #C2A22A #2AC256 #2A4AC2
square
#C22A96 #C2A22A #2AC256 #2A4AC2
split-complementary
#C22A96 #4AC22A #2AC2A2
monochromatic
#5D1448 #901F6F #C22A96 #D950B1 #E482C8

Accessibility & contrast

On white

5.17
#C22A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C22A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A96
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A96#FFFFFF#000000##FFFFFF
##C22A961.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D99
Deuteranopia (green-blind)
#6C7693
Tritanopia (blue-blind)
#CF2B5E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22a96;
/* rgb */ color: rgb(194, 42, 150);
/* oklch */ color: oklch(56.3% 0.213 342.7);
Tailwind
colors: {
  custom: {
    50: '#d975b5',
    500: '#c22a96',
    950: '#000000',
  },
}
SCSS
$custom: #c22a96;
$custom-light: #d975b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a96",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 317.368,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.21273,
    "h": 342.7
  },
  "luminance": 0.15327
}

Semantic roles & 50–950 ramp

primary
#C22A96
secondary
#7BCD93
accent
#E77140
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22A96

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

Preview Lab → · Contrast checker → · Palette generator →

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