#C22C87#C22C87

#C22C87 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.8% C 0.202 H 348.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C22C87
RGBrgb(194, 44, 135)
HSLhsl(324, 63%, 47%)
HSVhsv(324, 77%, 76%)
CMYKcmyk(0%, 77.3%, 30.4%, 23.9%)
CIE-LABlab(45.67, 64.99, -15.11)
CIE-LCHlch(45.67, 66.73, 346.92°)
OKLaboklab(55.85% 0.1985 -0.0397)
OKLCHoklch(55.85% 0.202 348.7)
XYZxyz(27.5235, 15.0232, 24.3673)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C87 #2CC267
analogous
#B22CC2 #C22C87 #C22C3C
triadic
#C22C87 #87C22C #2C87C2
tetradic
#C22C87 #C2B22C #2CC267 #2C3CC2
square
#C22C87 #C2B22C #2CC267 #2C3CC2
split-complementary
#C22C87 #3CC22C #2CC2B2
monochromatic
#5E1542 #902164 #C22C87 #D853A4 #E385BE

Accessibility & contrast

On white

5.24
#C22C87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C22C87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C87
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C87#FFFFFF#000000##FFFFFF
##C22C871.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#717684
Tritanopia (blue-blind)
#D02356
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22c87;
/* rgb */ color: rgb(194, 44, 135);
/* oklch */ color: oklch(55.8% 0.202 348.7);
Tailwind
colors: {
  custom: {
    50: '#d975aa',
    500: '#c22c87',
    950: '#000000',
  },
}
SCSS
$custom: #c22c87;
$custom-light: #d975aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c87",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 323.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.20246,
    "h": 348.7
  },
  "luminance": 0.1502
}

Semantic roles & 50–950 ramp

primary
#C22C87
secondary
#7DCD9C
accent
#E68242
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22C87

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

Preview Lab → · Contrast checker → · Palette generator →

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