#C22C9B#C22C9B

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

Color values

HEX#C22C9B
RGBrgb(194, 44, 155)
HSLhsl(316, 63%, 47%)
HSVhsv(316, 77%, 76%)
CMYKcmyk(0%, 77.3%, 20.1%, 23.9%)
CIE-LABlab(46.50, 67.47, -25.89)
CIE-LCHlch(46.50, 72.27, 339.00°)
OKLaboklab(56.72% 0.2022 -0.0698)
OKLCHoklch(56.72% 0.214 341)
XYZxyz(29.0661, 15.6402, 32.4921)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C9B #2CC253
analogous
#9E2CC2 #C22C9B #C22C50
triadic
#C22C9B #9BC22C #2C9BC2
tetradic
#C22C9B #C29E2C #2CC253 #2C50C2
square
#C22C9B #C29E2C #2CC253 #2C50C2
split-complementary
#C22C9B #50C22C #2CC29E
monochromatic
#5E154B #902173 #C22C9B #D853B5 #E385CB

Accessibility & contrast

On white

5.09
#C22C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C22C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C9B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C9B#FFFFFF#000000##FFFFFF
##C22C9B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9E
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#CE3061
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22c9b;
/* rgb */ color: rgb(194, 44, 155);
/* oklch */ color: oklch(56.7% 0.214 341.0);
Tailwind
colors: {
  custom: {
    50: '#d976b8',
    500: '#c22c9b',
    950: '#000000',
  },
}
SCSS
$custom: #c22c9b;
$custom-light: #d976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c9b",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 155
  },
  "hsl": {
    "h": 315.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5672,
    "c": 0.21388,
    "h": 341
  },
  "luminance": 0.15637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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