#C22A9F#C22A9F

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

Color values

HEX#C22A9F
RGBrgb(194, 42, 159)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 78.4%, 18%, 23.9%)
CIE-LABlab(46.49, 68.56, -28.30)
CIE-LCHlch(46.49, 74.17, 337.57°)
OKLaboklab(56.77% 0.2044 -0.0766)
OKLCHoklch(56.77% 0.218 339.4)
XYZxyz(29.3349, 15.6314, 34.2664)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9F #2AC24D
analogous
#992AC2 #C22A9F #C22A53
triadic
#C22A9F #9FC22A #2A9FC2
tetradic
#C22A9F #C2992A #2AC24D #2A53C2
square
#C22A9F #C2992A #2AC24D #2A53C2
split-complementary
#C22A9F #53C22A #2AC299
monochromatic
#5D144D #901F76 #C22A9F #D950BA #E482CE

Accessibility & contrast

On white

5.09
#C22A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C22A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22A9F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22A9F#FFFFFF#000000##FFFFFF
##C22A9F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#CD3163
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9f;
/* rgb */ color: rgb(194, 42, 159);
/* oklch */ color: oklch(56.8% 0.218 339.4);
Tailwind
colors: {
  custom: {
    50: '#d975bb',
    500: '#c22a9f',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9f;
$custom-light: #d975bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9f",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 313.816,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.21825,
    "h": 339.4
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#C22A9F
secondary
#7BCD8E
accent
#E76740
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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