#C22168#C22168

#C22168 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 54.0% C 0.199 H 0.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C22168
RGBrgb(194, 33, 104)
HSLhsl(334, 71%, 45%)
HSVhsv(334, 83%, 76%)
CMYKcmyk(0%, 83%, 46.4%, 23.9%)
CIE-LABlab(43.60, 64.73, 0.90)
CIE-LCHlch(43.60, 64.74, 0.80°)
OKLaboklab(53.99% 0.1991 0.003)
OKLCHoklch(53.99% 0.199 0.9)
XYZxyz(25.2928, 13.5600, 14.3795)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22168 #21C27B
analogous
#C221B9 #C22168 #C22A21
triadic
#C22168 #68C221 #2168C2
tetradic
#C22168 #B9C221 #21C27B #2A21C2
square
#C22168 #B9C221 #21C27B #2A21C2
split-complementary
#C22168 #21C22A #21B9C2
monochromatic
#590F30 #8E184C #C22168 #DF4187 #E876A8

Accessibility & contrast

On white

5.66
#C22168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C22168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22168
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22168#FFFFFF#000000##FFFFFF
##C221681.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B536A
Deuteranopia (green-blind)
#767264
Tritanopia (blue-blind)
#D30042
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c22168;
/* rgb */ color: rgb(194, 33, 104);
/* oklch */ color: oklch(54.0% 0.199 0.9);
Tailwind
colors: {
  custom: {
    50: '#db7092',
    500: '#c22168',
    950: '#000000',
  },
}
SCSS
$custom: #c22168;
$custom-light: #db7092;
$custom-dark: #000000;
JSON
{
  "hex": "#c22168",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 333.54,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53988,
    "c": 0.19907,
    "h": 0.9
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#C22168
secondary
#70CFA5
accent
#EE9E3A
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090D
muted
#847B7D

Preview Lab

Preview with #C22168

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

Preview Lab → · Contrast checker → · Palette generator →

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