#C22C9C#C22C9C

#C22C9C is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.214 H 340.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C22C9C
RGBrgb(194, 44, 156)
HSLhsl(315, 63%, 47%)
HSVhsv(315, 77%, 76%)
CMYKcmyk(0%, 77.3%, 19.6%, 23.9%)
CIE-LABlab(46.54, 67.60, -26.42)
CIE-LCHlch(46.54, 72.58, 338.65°)
OKLaboklab(56.77% 0.2023 -0.0713)
OKLCHoklch(56.77% 0.214 340.6)
XYZxyz(29.1505, 15.6740, 32.9362)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C9C #2CC252
analogous
#9D2CC2 #C22C9C #C22C51
triadic
#C22C9C #9CC22C #2C9CC2
tetradic
#C22C9C #C29D2C #2CC252 #2C51C2
square
#C22C9C #C29D2C #2CC252 #2C51C2
split-complementary
#C22C9C #51C22C #2CC29D
monochromatic
#5E154C #902174 #C22C9C #D853B6 #E385CB

Accessibility & contrast

On white

5.08
#C22C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22C9C
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C9C#FFFFFF#000000##FFFFFF
##C22C9C1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395F9F
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#CE3162
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22c9c;
/* rgb */ color: rgb(194, 44, 156);
/* oklch */ color: oklch(56.8% 0.214 340.6);
Tailwind
colors: {
  custom: {
    50: '#d976b9',
    500: '#c22c9c',
    950: '#000000',
  },
}
SCSS
$custom: #c22c9c;
$custom-light: #d976b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c9c",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 315.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.21449,
    "h": 340.6
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#C22C9C
secondary
#7DCD91
accent
#E66B42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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