#C22E9E#C22E9E

#C22E9E is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.214 H 339.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C22E9E
RGBrgb(194, 46, 158)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 76%, 76%)
CMYKcmyk(0%, 76.3%, 18.6%, 23.9%)
CIE-LABlab(46.84, 67.29, -27.16)
CIE-LCHlch(46.84, 72.57, 338.02°)
OKLaboklab(57.01% 0.2008 -0.0734)
OKLCHoklch(57.01% 0.214 339.9)
XYZxyz(29.3975, 15.8949, 33.8609)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E9E #2EC252
analogous
#9C2EC2 #C22E9E #C22E54
triadic
#C22E9E #9EC22E #2E9EC2
tetradic
#C22E9E #C29C2E #2EC252 #2E54C2
square
#C22E9E #C29C2E #2EC252 #2E54C2
split-complementary
#C22E9E #54C22E #2EC29C
monochromatic
#5F174D #912276 #C22E9E #D756B8 #E388CD

Accessibility & contrast

On white

5.03
#C22E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#C22E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E9E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E9E#FFFFFF#000000##FFFFFF
##C22E9E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A1
Deuteranopia (green-blind)
#6A779B
Tritanopia (blue-blind)
#CE3363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22e9e;
/* rgb */ color: rgb(194, 46, 158);
/* oklch */ color: oklch(57.0% 0.214 339.9);
Tailwind
colors: {
  custom: {
    50: '#d976bb',
    500: '#c22e9e',
    950: '#000000',
  },
}
SCSS
$custom: #c22e9e;
$custom-light: #d976bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e9e",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 314.595,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57008,
    "c": 0.2138,
    "h": 339.9
  },
  "luminance": 0.15892
}

Semantic roles & 50–950 ramp

primary
#C22E9E
secondary
#7FCC92
accent
#E56A43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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