#C22D5A#C22D5A

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

Color values

HEX#C22D5A
RGBrgb(194, 45, 90)
HSLhsl(342, 62%, 47%)
HSVhsv(342, 77%, 76%)
CMYKcmyk(0%, 76.8%, 53.6%, 23.9%)
CIE-LABlab(44.36, 60.34, 10.72)
CIE-LCHlch(44.36, 61.28, 10.07°)
OKLaboklab(54.43% 0.1836 0.0274)
OKLCHoklch(54.43% 0.186 8.5)
XYZxyz(25.0343, 14.0878, 11.0719)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D5A #2DC295
analogous
#C22DA5 #C22D5A #C24A2D
triadic
#C22D5A #5AC22D #2D5AC2
tetradic
#C22D5A #A5C22D #2DC295 #4A2DC2
square
#C22D5A #A5C22D #2DC295 #4A2DC2
split-complementary
#C22D5A #2DC24A #2DA5C2
monochromatic
#5F162C #902143 #C22D5A #D7557C #E386A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22D5A#FFFFFF#000000##FFFFFF
##C22D5A1.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)
#54565B
Deuteranopia (green-blind)
#7B7456
Tritanopia (blue-blind)
#D40040
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22d5a;
/* rgb */ color: rgb(194, 45, 90);
/* oklch */ color: oklch(54.4% 0.186 8.5);
Tailwind
colors: {
  custom: {
    50: '#db7488',
    500: '#c22d5a',
    950: '#000000',
  },
}
SCSS
$custom: #c22d5a;
$custom-light: #db7488;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d5a",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 341.879,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.18562,
    "h": 8.5
  },
  "luminance": 0.14084
}

Semantic roles & 50–950 ramp

primary
#C22D5A
secondary
#7ECDB5
accent
#E5B442
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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