#C22CA1#C22CA1

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

Color values

HEX#C22CA1
RGBrgb(194, 44, 161)
HSLhsl(313, 63%, 47%)
HSVhsv(313, 77%, 76%)
CMYKcmyk(0%, 77.3%, 17%, 23.9%)
CIE-LABlab(46.77, 68.27, -29.05)
CIE-LCHlch(46.77, 74.20, 336.95°)
OKLaboklab(57.01% 0.2029 -0.0788)
OKLCHoklch(57.01% 0.218 338.8)
XYZxyz(29.5826, 15.8468, 35.2121)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22CA1 #2CC24D
analogous
#982CC2 #C22CA1 #C22C56
triadic
#C22CA1 #A1C22C #2CA1C2
tetradic
#C22CA1 #C2982C #2CC24D #2C56C2
square
#C22CA1 #C2982C #2CC24D #2C56C2
split-complementary
#C22CA1 #56C22C #2CC298
monochromatic
#5E154E #902178 #C22CA1 #D853BB #E385CF

Accessibility & contrast

On white

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

On black

4.17
#C22CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C22CA1#FFFFFF#000000##FFFFFF
##C22CA11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#68779E
Tritanopia (blue-blind)
#CD3464
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22ca1;
/* rgb */ color: rgb(194, 44, 161);
/* oklch */ color: oklch(57.0% 0.218 338.8);
Tailwind
colors: {
  custom: {
    50: '#d976bd',
    500: '#c22ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c22ca1;
$custom-light: #d976bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ca1",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 313.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.21765,
    "h": 338.8
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#C22CA1
secondary
#7DCD8F
accent
#E66642
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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