#C22E9C#C22E9C

#C22E9C is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.213 H 340.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C22E9C
RGBrgb(194, 46, 156)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 76%, 76%)
CMYKcmyk(0%, 76.3%, 19.6%, 23.9%)
CIE-LABlab(46.75, 67.02, -26.11)
CIE-LCHlch(46.75, 71.93, 338.72°)
OKLaboklab(56.91% 0.2005 -0.0704)
OKLCHoklch(56.91% 0.213 340.7)
XYZxyz(29.2268, 15.8266, 32.9617)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E9C #2EC254
analogous
#9E2EC2 #C22E9C #C22E52
triadic
#C22E9C #9CC22E #2E9CC2
tetradic
#C22E9C #C29E2E #2EC254 #2E52C2
square
#C22E9C #C29E2E #2EC254 #2E52C2
split-complementary
#C22E9C #52C22E #2EC29E
monochromatic
#5F174C #912274 #C22E9C #D756B6 #E388CB

Accessibility & contrast

On white

5.04
#C22E9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C22E9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E9C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E9C#FFFFFF#000000##FFFFFF
##C22E9C1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A609F
Deuteranopia (green-blind)
#6B7799
Tritanopia (blue-blind)
#CE3262
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22e9c;
/* rgb */ color: rgb(194, 46, 156);
/* oklch */ color: oklch(56.9% 0.213 340.7);
Tailwind
colors: {
  custom: {
    50: '#d976b9',
    500: '#c22e9c',
    950: '#000000',
  },
}
SCSS
$custom: #c22e9c;
$custom-light: #d976b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e9c",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 315.405,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.21254,
    "h": 340.7
  },
  "luminance": 0.15824
}

Semantic roles & 50–950 ramp

primary
#C22E9C
secondary
#7FCC93
accent
#E56D43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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