#C22A97#C22A97

#C22A97 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.213 H 342.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C22A97
RGBrgb(194, 42, 151)
HSLhsl(317, 64%, 46%)
HSVhsv(317, 78%, 76%)
CMYKcmyk(0%, 78.4%, 22.2%, 23.9%)
CIE-LABlab(46.13, 67.51, -24.07)
CIE-LCHlch(46.13, 71.67, 340.38°)
OKLaboklab(56.39% 0.2033 -0.0646)
OKLCHoklch(56.39% 0.213 342.4)
XYZxyz(28.6631, 15.3627, 30.7280)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A97 #2AC255
analogous
#A12AC2 #C22A97 #C22A4B
triadic
#C22A97 #97C22A #2A97C2
tetradic
#C22A97 #C2A12A #2AC255 #2A4BC2
square
#C22A97 #C2A12A #2AC255 #2A4BC2
split-complementary
#C22A97 #4BC22A #2AC2A1
monochromatic
#5D1449 #901F70 #C22A97 #D950B2 #E482C8

Accessibility & contrast

On white

5.16
#C22A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22A97
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A97#FFFFFF#000000##FFFFFF
##C22A971.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D9A
Deuteranopia (green-blind)
#6B7694
Tritanopia (blue-blind)
#CE2C5E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22a97;
/* rgb */ color: rgb(194, 42, 151);
/* oklch */ color: oklch(56.4% 0.213 342.4);
Tailwind
colors: {
  custom: {
    50: '#d975b6',
    500: '#c22a97',
    950: '#000000',
  },
}
SCSS
$custom: #c22a97;
$custom-light: #d975b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a97",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 316.974,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.21333,
    "h": 342.4
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#C22A97
secondary
#7BCD92
accent
#E77040
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22A97

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

Preview Lab → · Contrast checker → · Palette generator →

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