#C22A9D#C22A9D

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

Color values

HEX#C22A9D
RGBrgb(194, 42, 157)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.4%, 19.1%, 23.9%)
CIE-LABlab(46.40, 68.29, -27.25)
CIE-LCHlch(46.40, 73.53, 338.25°)
OKLaboklab(56.68% 0.2041 -0.0736)
OKLCHoklch(56.68% 0.217 340.2)
XYZxyz(29.1628, 15.5626, 33.3598)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9D #2AC24F
analogous
#9B2AC2 #C22A9D #C22A51
triadic
#C22A9D #9DC22A #2A9DC2
tetradic
#C22A9D #C29B2A #2AC24F #2A51C2
square
#C22A9D #C29B2A #2AC24F #2A51C2
split-complementary
#C22A9D #51C22A #2AC29B
monochromatic
#5D144C #901F74 #C22A9D #D950B8 #E482CC

Accessibility & contrast

On white

5.11
#C22A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22A9D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A9D#FFFFFF#000000##FFFFFF
##C22A9D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#CE3062
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9d;
/* rgb */ color: rgb(194, 42, 157);
/* oklch */ color: oklch(56.7% 0.217 340.2);
Tailwind
colors: {
  custom: {
    50: '#d975ba',
    500: '#c22a9d',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9d;
$custom-light: #d975ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9d",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 314.605,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.21699,
    "h": 340.2
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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