#C22E5B#C22E5B

#C22E5B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.185 H 8.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C22E5B
RGBrgb(194, 46, 91)
HSLhsl(342, 62%, 47%)
HSVhsv(342, 76%, 76%)
CMYKcmyk(0%, 76.3%, 53.1%, 23.9%)
CIE-LABlab(44.49, 60.11, 10.28)
CIE-LCHlch(44.49, 60.98, 9.71°)
OKLaboklab(54.53% 0.183 0.0263)
OKLCHoklch(54.53% 0.185 8.2)
XYZxyz(25.1158, 14.1822, 11.3104)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E5B #2EC295
analogous
#C22EA5 #C22E5B #C24B2E
triadic
#C22E5B #5BC22E #2E5BC2
tetradic
#C22E5B #A5C22E #2EC295 #4B2EC2
square
#C22E5B #A5C22E #2EC295 #4B2EC2
split-complementary
#C22E5B #2EC24B #2EA5C2
monochromatic
#5F172D #912244 #C22E5B #D7567D #E388A3

Accessibility & contrast

On white

5.47
#C22E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C22E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E5B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E5B#FFFFFF#000000##FFFFFF
##C22E5B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.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: #c22e5b;
/* rgb */ color: rgb(194, 46, 91);
/* oklch */ color: oklch(54.5% 0.185 8.2);
Tailwind
colors: {
  custom: {
    50: '#db7489',
    500: '#c22e5b',
    950: '#000000',
  },
}
SCSS
$custom: #c22e5b;
$custom-light: #db7489;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e5b",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 341.757,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.18486,
    "h": 8.2
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#C22E5B
secondary
#7FCCB5
accent
#E5B443
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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