#C22D6B#C22D6B

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

Color values

HEX#C22D6B
RGBrgb(194, 45, 107)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 77%, 76%)
CMYKcmyk(0%, 76.8%, 44.8%, 23.9%)
CIE-LABlab(44.82, 61.78, 0.82)
CIE-LCHlch(44.82, 61.78, 0.76°)
OKLaboklab(54.91% 0.1897 0.0028)
OKLCHoklch(54.91% 0.19 0.8)
XYZxyz(25.8424, 14.4111, 15.3279)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D6B #2DC284
analogous
#C22DB5 #C22D6B #C23A2D
triadic
#C22D6B #6BC22D #2D6BC2
tetradic
#C22D6B #B5C22D #2DC284 #3A2DC2
square
#C22D6B #B5C22D #2DC284 #3A2DC2
split-complementary
#C22D6B #2DC23A #2DB5C2
monochromatic
#5F1634 #902150 #C22D6B #D7558B #E386AD

Accessibility & contrast

On white

5.41
#C22D6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22D6B
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D6B#FFFFFF#000000##FFFFFF
##C22D6B1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#787468
Tritanopia (blue-blind)
#D30C48
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c22d6b;
/* rgb */ color: rgb(194, 45, 107);
/* oklch */ color: oklch(54.9% 0.190 0.8);
Tailwind
colors: {
  custom: {
    50: '#da7495',
    500: '#c22d6b',
    950: '#000000',
  },
}
SCSS
$custom: #c22d6b;
$custom-light: #da7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d6b",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 335.034,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.18969,
    "h": 0.8
  },
  "luminance": 0.14408
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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