#C22EA1#C22EA1

#C22EA1 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.2% C 0.216 H 338.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C22EA1
RGBrgb(194, 46, 161)
HSLhsl(313, 62%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 76.3%, 17%, 23.9%)
CIE-LABlab(46.97, 67.70, -28.74)
CIE-LCHlch(46.97, 73.55, 337.00°)
OKLaboklab(57.15% 0.2012 -0.0779)
OKLCHoklch(57.15% 0.216 338.8)
XYZxyz(29.6589, 15.9994, 35.2375)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA1 #2EC24F
analogous
#992EC2 #C22EA1 #C22E57
triadic
#C22EA1 #A1C22E #2EA1C2
tetradic
#C22EA1 #C2992E #2EC24F #2E57C2
square
#C22EA1 #C2992E #2EC24F #2E57C2
split-complementary
#C22EA1 #57C22E #2EC299
monochromatic
#5F174F #912278 #C22EA1 #D756BA #E388CE

Accessibility & contrast

On white

5.00
#C22EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C22EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EA1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EA1#FFFFFF#000000##FFFFFF
##C22EA11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#CD3565
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22ea1;
/* rgb */ color: rgb(194, 46, 161);
/* oklch */ color: oklch(57.2% 0.216 338.8);
Tailwind
colors: {
  custom: {
    50: '#d977bd',
    500: '#c22ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea1;
$custom-light: #d977bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea1",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 313.378,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.21572,
    "h": 338.8
  },
  "luminance": 0.15997
}

Semantic roles & 50–950 ramp

primary
#C22EA1
secondary
#7FCC91
accent
#E56743
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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