#C22E5A#C22E5A

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

Color values

HEX#C22E5A
RGBrgb(194, 46, 90)
HSLhsl(342, 62%, 47%)
HSVhsv(342, 76%, 76%)
CMYKcmyk(0%, 76.3%, 53.6%, 23.9%)
CIE-LABlab(44.47, 60.03, 10.87)
CIE-LCHlch(44.47, 61.01, 10.26°)
OKLaboklab(54.51% 0.1826 0.0278)
OKLCHoklch(54.51% 0.185 8.6)
XYZxyz(25.0729, 14.1651, 11.0847)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E5A #2EC296
analogous
#C22EA4 #C22E5A #C24C2E
triadic
#C22E5A #5AC22E #2E5AC2
tetradic
#C22E5A #A4C22E #2EC296 #4C2EC2
square
#C22E5A #A4C22E #2EC296 #4C2EC2
split-complementary
#C22E5A #2EC24C #2EA4C2
monochromatic
#5F172C #912243 #C22E5A #D7567D #E388A3

Accessibility & contrast

On white

5.48
#C22E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#C22E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E5A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E5A#FFFFFF#000000##FFFFFF
##C22E5A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55565B
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#D40041
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22e5a;
/* rgb */ color: rgb(194, 46, 90);
/* oklch */ color: oklch(54.5% 0.185 8.6);
Tailwind
colors: {
  custom: {
    50: '#db7488',
    500: '#c22e5a',
    950: '#000000',
  },
}
SCSS
$custom: #c22e5a;
$custom-light: #db7488;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e5a",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 342.162,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.18469,
    "h": 8.6
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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