#C22EA9#C22EA9

#C22EA9 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.221 H 336.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C22EA9
RGBrgb(194, 46, 169)
HSLhsl(310, 62%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 76.3%, 12.9%, 23.9%)
CIE-LABlab(47.35, 68.81, -32.89)
CIE-LCHlch(47.35, 76.27, 334.45°)
OKLaboklab(57.55% 0.2019 -0.0898)
OKLCHoklch(57.55% 0.221 336)
XYZxyz(30.3871, 16.2907, 39.0725)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA9 #2EC247
analogous
#912EC2 #C22EA9 #C22E5F
triadic
#C22EA9 #A9C22E #2EA9C2
tetradic
#C22EA9 #C2912E #2EC247 #2E5FC2
square
#C22EA9 #C2912E #2EC247 #2E5FC2
split-complementary
#C22EA9 #5FC22E #2EC291
monochromatic
#5F1753 #91227E #C22EA9 #D756C1 #E388D3

Accessibility & contrast

On white

4.93
#C22EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C22EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EA9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EA9#FFFFFF#000000##FFFFFF
##C22EA91.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3062AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#CC3A69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ea9;
/* rgb */ color: rgb(194, 46, 169);
/* oklch */ color: oklch(57.5% 0.221 336.0);
Tailwind
colors: {
  custom: {
    50: '#d977c3',
    500: '#c22ea9',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea9;
$custom-light: #d977c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea9",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 310.135,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.22099,
    "h": 336
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#C22EA9
secondary
#7FCC8C
accent
#E55E43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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