#C22158#C22158

#C22158 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.5% C 0.195 H 7.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C22158
RGBrgb(194, 33, 88)
HSLhsl(340, 71%, 45%)
HSVhsv(340, 83%, 76%)
CMYKcmyk(0%, 83%, 54.6%, 23.9%)
CIE-LABlab(43.16, 63.45, 10.29)
CIE-LCHlch(43.16, 64.28, 9.21°)
OKLaboklab(53.53% 0.1934 0.0263)
OKLCHoklch(53.53% 0.195 7.7)
XYZxyz(24.5558, 13.2652, 10.4981)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22158 #21C28B
analogous
#C221A9 #C22158 #C23B21
triadic
#C22158 #58C221 #2158C2
tetradic
#C22158 #A9C221 #21C28B #3B21C2
square
#C22158 #A9C221 #21C28B #3B21C2
split-complementary
#C22158 #21C23B #21A9C2
monochromatic
#590F29 #8E1840 #C22158 #DF4177 #E8769D

Accessibility & contrast

On white

5.75
#C22158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#C22158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22158
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22158#FFFFFF#000000##FFFFFF
##C221581.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5259
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#D4003A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c22158;
/* rgb */ color: rgb(194, 33, 88);
/* oklch */ color: oklch(53.5% 0.195 7.7);
Tailwind
colors: {
  custom: {
    50: '#db7086',
    500: '#c22158',
    950: '#000000',
  },
}
SCSS
$custom: #c22158;
$custom-light: #db7086;
$custom-dark: #000000;
JSON
{
  "hex": "#c22158",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 339.503,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.19516,
    "h": 7.7
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#C22158
secondary
#70CFAE
accent
#EEB03A
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22158

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

Preview Lab → · Contrast checker → · Palette generator →

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