#C22E6C#C22E6C

#C22E6C is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.189 H 0.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C22E6C
RGBrgb(194, 46, 108)
HSLhsl(335, 62%, 47%)
HSVhsv(335, 76%, 76%)
CMYKcmyk(0%, 76.3%, 44.3%, 23.9%)
CIE-LABlab(44.95, 61.56, 0.40)
CIE-LCHlch(44.95, 61.56, 0.37°)
OKLaboklab(55.02% 0.189 0.0017)
OKLCHoklch(55.02% 0.189 0.5)
XYZxyz(25.9339, 14.5095, 15.6194)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E6C #2EC284
analogous
#C22EB6 #C22E6C #C23A2E
triadic
#C22E6C #6CC22E #2E6CC2
tetradic
#C22E6C #B6C22E #2EC284 #3A2EC2
square
#C22E6C #B6C22E #2EC284 #3A2EC2
split-complementary
#C22E6C #2EC23A #2EB6C2
monochromatic
#5F1735 #912250 #C22E6C #D7568C #E388AE

Accessibility & contrast

On white

5.38
#C22E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C22E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E6C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E6C#FFFFFF#000000##FFFFFF
##C22E6C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#787569
Tritanopia (blue-blind)
#D31049
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c22e6c;
/* rgb */ color: rgb(194, 46, 108);
/* oklch */ color: oklch(55.0% 0.189 0.5);
Tailwind
colors: {
  custom: {
    50: '#da7595',
    500: '#c22e6c',
    950: '#000000',
  },
}
SCSS
$custom: #c22e6c;
$custom-light: #da7595;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e6c",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 334.865,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.18904,
    "h": 0.5
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

primary
#C22E6C
secondary
#7FCCAC
accent
#E5A143
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C22E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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