#C22151#C22151

#C22151 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.194 H 10.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C22151
RGBrgb(194, 33, 81)
HSLhsl(342, 71%, 45%)
HSVhsv(342, 83%, 76%)
CMYKcmyk(0%, 83%, 58.2%, 23.9%)
CIE-LABlab(43.00, 62.96, 14.45)
CIE-LCHlch(43.00, 64.60, 12.93°)
OKLaboklab(53.35% 0.1907 0.0361)
OKLCHoklch(53.35% 0.194 10.7)
XYZxyz(24.2797, 13.1548, 9.0437)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22151 #21C292
analogous
#C221A2 #C22151 #C24221
triadic
#C22151 #51C221 #2151C2
tetradic
#C22151 #A2C221 #21C292 #4221C2
square
#C22151 #A2C221 #21C292 #4221C2
split-complementary
#C22151 #21C242 #21A2C2
monochromatic
#590F25 #8E183B #C22151 #DF4170 #E87698

Accessibility & contrast

On white

5.78
#C22151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#C22151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22151
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22151#FFFFFF#000000##FFFFFF
##C221511.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515152
Deuteranopia (green-blind)
#79714D
Tritanopia (blue-blind)
#D40037
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c22151;
/* rgb */ color: rgb(194, 33, 81);
/* oklch */ color: oklch(53.4% 0.194 10.7);
Tailwind
colors: {
  custom: {
    50: '#dc6f81',
    500: '#c22151',
    950: '#000000',
  },
}
SCSS
$custom: #c22151;
$custom-light: #dc6f81;
$custom-dark: #000000;
JSON
{
  "hex": "#c22151",
  "rgb": {
    "r": 194,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 342.112,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53353,
    "c": 0.19411,
    "h": 10.7
  },
  "luminance": 0.13151
}

Semantic roles & 50–950 ramp

primary
#C22151
secondary
#70CFB3
accent
#EEB83A
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C22151

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

Preview Lab → · Contrast checker → · Palette generator →

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