#C22CA8#C22CA8

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

Color values

HEX#C22CA8
RGBrgb(194, 44, 168)
HSLhsl(310, 63%, 47%)
HSVhsv(310, 77%, 76%)
CMYKcmyk(0%, 77.3%, 13.4%, 23.9%)
CIE-LABlab(47.11, 69.24, -32.69)
CIE-LCHlch(47.11, 76.57, 334.73°)
OKLaboklab(57.36% 0.2036 -0.0892)
OKLCHoklch(57.36% 0.222 336.3)
XYZxyz(30.2172, 16.1007, 38.5545)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CA8 #2CC246
analogous
#912CC2 #C22CA8 #C22C5D
triadic
#C22CA8 #A8C22C #2CA8C2
tetradic
#C22CA8 #C2912C #2CC246 #2C5DC2
square
#C22CA8 #C2912C #2CC246 #2C5DC2
split-complementary
#C22CA8 #5DC22C #2CC291
monochromatic
#5E1552 #90217D #C22CA8 #D853C1 #E385D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22CA8#FFFFFF#000000##FFFFFF
##C22CA81.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)
#2F61AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#CC3868
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ca8;
/* rgb */ color: rgb(194, 44, 168);
/* oklch */ color: oklch(57.4% 0.222 336.3);
Tailwind
colors: {
  custom: {
    50: '#d976c2',
    500: '#c22ca8',
    950: '#000000',
  },
}
SCSS
$custom: #c22ca8;
$custom-light: #d976c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ca8",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 310.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.22223,
    "h": 336.3
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#C22CA8
secondary
#7DCD8B
accent
#E65E42
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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