#C22A9B#C22A9B

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

Color values

HEX#C22A9B
RGBrgb(194, 42, 155)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 78.4%, 20.1%, 23.9%)
CIE-LABlab(46.30, 68.03, -26.20)
CIE-LCHlch(46.30, 72.90, 338.94°)
OKLaboklab(56.58% 0.2039 -0.0706)
OKLCHoklch(56.58% 0.216 340.9)
XYZxyz(28.9934, 15.4948, 32.4679)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22A9B #2AC251
analogous
#9D2AC2 #C22A9B #C22A4F
triadic
#C22A9B #9BC22A #2A9BC2
tetradic
#C22A9B #C29D2A #2AC251 #2A4FC2
square
#C22A9B #C29D2A #2AC251 #2A4FC2
split-complementary
#C22A9B #4FC22A #2AC29D
monochromatic
#5D144B #901F73 #C22A9B #D950B6 #E482CB

Accessibility & contrast

On white

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

On black

4.10
#C22A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C22A9B#FFFFFF#000000##FFFFFF
##C22A9B1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385E9E
Deuteranopia (green-blind)
#6A7698
Tritanopia (blue-blind)
#CE2E60
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22a9b;
/* rgb */ color: rgb(194, 42, 155);
/* oklch */ color: oklch(56.6% 0.216 340.9);
Tailwind
colors: {
  custom: {
    50: '#d975b8',
    500: '#c22a9b',
    950: '#000000',
  },
}
SCSS
$custom: #c22a9b;
$custom-light: #d975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22a9b",
  "rgb": {
    "r": 194,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 315.395,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.21575,
    "h": 340.9
  },
  "luminance": 0.15492
}

Semantic roles & 50–950 ramp

primary
#C22A9B
secondary
#7BCD90
accent
#E76B40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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