#C22A8D#C22A8D

#C22A8D is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 56.0% C 0.208 H 346.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C22A8D
RGBrgb(194, 42, 141)
HSLhsl(321, 64%, 46%)
HSVhsv(321, 78%, 76%)
CMYKcmyk(0%, 78.4%, 27.3%, 23.9%)
CIE-LABlab(45.70, 66.27, -18.69)
CIE-LCHlch(45.70, 68.85, 344.25°)
OKLaboklab(55.95% 0.2016 -0.0496)
OKLCHoklch(55.95% 0.208 346.2)
XYZxyz(27.8851, 15.0515, 26.6309)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A8D #2AC25F
analogous
#AB2AC2 #C22A8D #C22A41
triadic
#C22A8D #8DC22A #2A8DC2
tetradic
#C22A8D #C2AB2A #2AC25F #2A41C2
square
#C22A8D #C2AB2A #2AC25F #2A41C2
split-complementary
#C22A8D #41C22A #2AC2AB
monochromatic
#5D1444 #901F68 #C22A8D #D950A9 #E482C2

Accessibility & contrast

On white

5.24
#C22A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C22A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A8D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A8D#FFFFFF#000000##FFFFFF
##C22A8D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#6E758A
Tritanopia (blue-blind)
#D02559
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22a8d;
/* rgb */ color: rgb(194, 42, 141);
/* oklch */ color: oklch(56.0% 0.208 346.2);
Tailwind
colors: {
  custom: {
    50: '#d974ae',
    500: '#c22a8d',
    950: '#000000',
  },
}
SCSS
$custom: #c22a8d;
$custom-light: #d974ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a8d",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 320.921,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.20758,
    "h": 346.2
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#C22A8D
secondary
#7BCD97
accent
#E77B40
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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