#C22B8A#C22B8A

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

Color values

HEX#C22B8A
RGBrgb(194, 43, 138)
HSLhsl(322, 64%, 46%)
HSVhsv(322, 78%, 76%)
CMYKcmyk(0%, 77.8%, 28.9%, 23.9%)
CIE-LABlab(45.68, 65.63, -16.90)
CIE-LCHlch(45.68, 67.77, 345.56°)
OKLaboklab(55.9% 0.2001 -0.0446)
OKLCHoklch(55.9% 0.205 347.4)
XYZxyz(27.7009, 15.0352, 25.4831)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B8A #2BC263
analogous
#AF2BC2 #C22B8A #C22B3E
triadic
#C22B8A #8AC22B #2B8AC2
tetradic
#C22B8A #C2AF2B #2BC263 #2B3EC2
square
#C22B8A #C2AF2B #2BC263 #2B3EC2
split-complementary
#C22B8A #3EC22B #2BC2AF
monochromatic
#5E1543 #902066 #C22B8A #D952A7 #E484C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22B8A#FFFFFF#000000##FFFFFF
##C22B8A1.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)
#435C8C
Deuteranopia (green-blind)
#707587
Tritanopia (blue-blind)
#D02458
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22b8a;
/* rgb */ color: rgb(194, 43, 138);
/* oklch */ color: oklch(55.9% 0.205 347.4);
Tailwind
colors: {
  custom: {
    50: '#d975ac',
    500: '#c22b8a',
    950: '#000000',
  },
}
SCSS
$custom: #c22b8a;
$custom-light: #d975ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b8a",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 322.252,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55895,
    "c": 0.205,
    "h": 347.4
  },
  "luminance": 0.15032
}

Semantic roles & 50–950 ramp

primary
#C22B8A
secondary
#7CCD9A
accent
#E77F41
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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