#C22A9E#C22A9E

#C22A9E is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.7% C 0.218 H 339.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C22A9E
RGBrgb(194, 42, 158)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 78.4%, 18.6%, 23.9%)
CIE-LABlab(46.44, 68.42, -27.78)
CIE-LCHlch(46.44, 73.85, 337.90°)
OKLaboklab(56.72% 0.2042 -0.0751)
OKLCHoklch(56.72% 0.218 339.8)
XYZxyz(29.2485, 15.5969, 33.8113)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9E #2AC24E
analogous
#9A2AC2 #C22A9E #C22A52
triadic
#C22A9E #9EC22A #2A9EC2
tetradic
#C22A9E #C29A2A #2AC24E #2A52C2
square
#C22A9E #C29A2A #2AC24E #2A52C2
split-complementary
#C22A9E #52C22A #2AC29A
monochromatic
#5D144C #901F75 #C22A9E #D950B9 #E482CD

Accessibility & contrast

On white

5.10
#C22A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C22A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A9E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A9E#FFFFFF#000000##FFFFFF
##C22A9E1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#CE3062
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9e;
/* rgb */ color: rgb(194, 42, 158);
/* oklch */ color: oklch(56.7% 0.218 339.8);
Tailwind
colors: {
  custom: {
    50: '#d975bb',
    500: '#c22a9e',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9e;
$custom-light: #d975bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9e",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 314.211,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.21762,
    "h": 339.8
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#C22A9E
secondary
#7BCD8E
accent
#E76840
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C22A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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