#C22D6C#C22D6C

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

Color values

HEX#C22D6C
RGBrgb(194, 45, 108)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 77%, 76%)
CMYKcmyk(0%, 76.8%, 44.3%, 23.9%)
CIE-LABlab(44.85, 61.87, 0.24)
CIE-LCHlch(44.85, 61.87, 0.22°)
OKLaboklab(54.94% 0.19 0.0013)
OKLCHoklch(54.94% 0.19 0.4)
XYZxyz(25.8953, 14.4322, 15.6065)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D6C #2DC283
analogous
#C22DB7 #C22D6C #C2392D
triadic
#C22D6C #6CC22D #2D6CC2
tetradic
#C22D6C #B7C22D #2DC283 #392DC2
square
#C22D6C #B7C22D #2DC283 #392DC2
split-complementary
#C22D6C #2DC239 #2DB7C2
monochromatic
#5F1635 #902150 #C22D6C #D7558C #E386AE

Accessibility & contrast

On white

5.40
#C22D6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C22D6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22D6C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D6C#FFFFFF#000000##FFFFFF
##C22D6C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586D
Deuteranopia (green-blind)
#787469
Tritanopia (blue-blind)
#D30E49
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c22d6c;
/* rgb */ color: rgb(194, 45, 108);
/* oklch */ color: oklch(54.9% 0.190 0.4);
Tailwind
colors: {
  custom: {
    50: '#da7495',
    500: '#c22d6c',
    950: '#000000',
  },
}
SCSS
$custom: #c22d6c;
$custom-light: #da7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d6c",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 334.631,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54944,
    "c": 0.19001,
    "h": 0.4
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#C22D6C
secondary
#7ECDAB
accent
#E5A042
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C22D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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