#C22E9B#C22E9B

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

Color values

HEX#C22E9B
RGBrgb(194, 46, 155)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 76%, 76%)
CMYKcmyk(0%, 76.3%, 20.1%, 23.9%)
CIE-LABlab(46.70, 66.89, -25.58)
CIE-LCHlch(46.70, 71.62, 339.07°)
OKLaboklab(56.87% 0.2004 -0.0689)
OKLCHoklch(56.87% 0.212 341)
XYZxyz(29.1425, 15.7929, 32.5176)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E9B #2EC255
analogous
#9F2EC2 #C22E9B #C22E51
triadic
#C22E9B #9BC22E #2E9BC2
tetradic
#C22E9B #C29F2E #2EC255 #2E51C2
square
#C22E9B #C29F2E #2EC255 #2E51C2
split-complementary
#C22E9B #51C22E #2EC29F
monochromatic
#5F174C #912273 #C22E9B #D756B5 #E388CB

Accessibility & contrast

On white

5.05
#C22E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22E9B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E9B#FFFFFF#000000##FFFFFF
##C22E9B1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22e9b;
/* rgb */ color: rgb(194, 46, 155);
/* oklch */ color: oklch(56.9% 0.212 341.0);
Tailwind
colors: {
  custom: {
    50: '#d976b8',
    500: '#c22e9b',
    950: '#000000',
  },
}
SCSS
$custom: #c22e9b;
$custom-light: #d976b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e9b",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 315.811,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.21192,
    "h": 341
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#C22E9B
secondary
#7FCC94
accent
#E56E43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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