#C22D6A#C22D6A

#C22D6A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.189 H 1.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C22D6A
RGBrgb(194, 45, 106)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 77%, 76%)
CMYKcmyk(0%, 76.8%, 45.4%, 23.9%)
CIE-LABlab(44.79, 61.68, 1.39)
CIE-LCHlch(44.79, 61.70, 1.29°)
OKLaboklab(54.88% 0.1893 0.0043)
OKLCHoklch(54.88% 0.189 1.3)
XYZxyz(25.7901, 14.3902, 15.0524)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D6A #2DC285
analogous
#C22DB5 #C22D6A #C23A2D
triadic
#C22D6A #6AC22D #2D6AC2
tetradic
#C22D6A #B5C22D #2DC285 #3A2DC2
square
#C22D6A #B5C22D #2DC285 #3A2DC2
split-complementary
#C22D6A #2DC23A #2DB5C2
monochromatic
#5F1634 #90214F #C22D6A #D7558A #E386AC

Accessibility & contrast

On white

5.42
#C22D6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C22D6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22D6A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D6A#FFFFFF#000000##FFFFFF
##C22D6A1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#787467
Tritanopia (blue-blind)
#D30B48
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c22d6a;
/* rgb */ color: rgb(194, 45, 106);
/* oklch */ color: oklch(54.9% 0.189 1.3);
Tailwind
colors: {
  custom: {
    50: '#da7494',
    500: '#c22d6a',
    950: '#000000',
  },
}
SCSS
$custom: #c22d6a;
$custom-light: #da7494;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d6a",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 335.436,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.18939,
    "h": 1.3
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#C22D6A
secondary
#7ECDAC
accent
#E5A342
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C22D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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