#C22D5B#C22D5B

#C22D5B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.186 H 8.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C22D5B
RGBrgb(194, 45, 91)
HSLhsl(341, 62%, 47%)
HSVhsv(341, 77%, 76%)
CMYKcmyk(0%, 76.8%, 53.1%, 23.9%)
CIE-LABlab(44.38, 60.42, 10.13)
CIE-LCHlch(44.38, 61.26, 9.52°)
OKLaboklab(54.45% 0.184 0.026)
OKLCHoklch(54.45% 0.186 8)
XYZxyz(25.0772, 14.1050, 11.2975)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D5B #2DC294
analogous
#C22DA5 #C22D5B #C24A2D
triadic
#C22D5B #5BC22D #2D5BC2
tetradic
#C22D5B #A5C22D #2DC294 #4A2DC2
square
#C22D5B #A5C22D #2DC294 #4A2DC2
split-complementary
#C22D5B #2DC24A #2DA5C2
monochromatic
#5F162C #902144 #C22D5B #D7557D #E386A3

Accessibility & contrast

On white

5.50
#C22D5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#C22D5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22D5B
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D5B#FFFFFF#000000##FFFFFF
##C22D5B1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565C
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#D40041
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22d5b;
/* rgb */ color: rgb(194, 45, 91);
/* oklch */ color: oklch(54.5% 0.186 8.0);
Tailwind
colors: {
  custom: {
    50: '#db7489',
    500: '#c22d5b',
    950: '#000000',
  },
}
SCSS
$custom: #c22d5b;
$custom-light: #db7489;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d5b",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 341.477,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.18579,
    "h": 8
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#C22D5B
secondary
#7ECDB4
accent
#E5B342
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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