#C22A9C#C22A9C

#C22A9C is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.216 H 340.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C22A9C
RGBrgb(194, 42, 156)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.4%, 19.6%, 23.9%)
CIE-LABlab(46.35, 68.16, -26.72)
CIE-LCHlch(46.35, 73.21, 338.59°)
OKLaboklab(56.63% 0.204 -0.0721)
OKLCHoklch(56.63% 0.216 340.5)
XYZxyz(29.0778, 15.5286, 32.9120)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9C #2AC250
analogous
#9C2AC2 #C22A9C #C22A50
triadic
#C22A9C #9CC22A #2A9CC2
tetradic
#C22A9C #C29C2A #2AC250 #2A50C2
square
#C22A9C #C29C2A #2AC250 #2A50C2
split-complementary
#C22A9C #50C22A #2AC29C
monochromatic
#5D144B #901F74 #C22A9C #D950B7 #E482CC

Accessibility & contrast

On white

5.12
#C22A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C22A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A9C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A9C#FFFFFF#000000##FFFFFF
##C22A9C1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#CE2F61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9c;
/* rgb */ color: rgb(194, 42, 156);
/* oklch */ color: oklch(56.6% 0.216 340.5);
Tailwind
colors: {
  custom: {
    50: '#d975b9',
    500: '#c22a9c',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9c;
$custom-light: #d975b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9c",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 315,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.21637,
    "h": 340.5
  },
  "luminance": 0.15526
}

Semantic roles & 50–950 ramp

primary
#C22A9C
secondary
#7BCD8F
accent
#E76A40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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