#C22157#C22157

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

Color values

HEX#C22157
RGBrgb(194, 33, 87)
HSLhsl(340, 71%, 45%)
HSVhsv(340, 83%, 76%)
CMYKcmyk(0%, 83%, 55.2%, 23.9%)
CIE-LABlab(43.14, 63.38, 10.88)
CIE-LCHlch(43.14, 64.31, 9.74°)
OKLaboklab(53.5% 0.193 0.0277)
OKLCHoklch(53.5% 0.195 8.2)
XYZxyz(24.5147, 13.2488, 10.2814)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22157 #21C28C
analogous
#C221A8 #C22157 #C23C21
triadic
#C22157 #57C221 #2157C2
tetradic
#C22157 #A8C221 #21C28C #3C21C2
square
#C22157 #A8C221 #21C28C #3C21C2
split-complementary
#C22157 #21C23C #21A8C2
monochromatic
#590F28 #8E1840 #C22157 #DF4176 #E8769C

Accessibility & contrast

On white

5.76
#C22157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22157
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22157#FFFFFF#000000##FFFFFF
##C221571.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22157;
/* rgb */ color: rgb(194, 33, 87);
/* oklch */ color: oklch(53.5% 0.195 8.2);
Tailwind
colors: {
  custom: {
    50: '#dc7086',
    500: '#c22157',
    950: '#000000',
  },
}
SCSS
$custom: #c22157;
$custom-light: #dc7086;
$custom-dark: #000000;
JSON
{
  "hex": "#c22157",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 339.876,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.19499,
    "h": 8.2
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

primary
#C22157
secondary
#70CFAF
accent
#EEB13A
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22157

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

Preview Lab → · Contrast checker → · Palette generator →

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