#C22B9B#C22B9B

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

Color values

HEX#C22B9B
RGBrgb(194, 43, 155)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 77.8%, 20.1%, 23.9%)
CIE-LABlab(46.40, 67.75, -26.05)
CIE-LCHlch(46.40, 72.59, 338.97°)
OKLaboklab(56.65% 0.203 -0.0702)
OKLCHoklch(56.65% 0.215 340.9)
XYZxyz(29.0293, 15.5666, 32.4799)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B9B #2BC252
analogous
#9E2BC2 #C22B9B #C22B4F
triadic
#C22B9B #9BC22B #2B9BC2
tetradic
#C22B9B #C29E2B #2BC252 #2B4FC2
square
#C22B9B #C29E2B #2BC252 #2B4FC2
split-complementary
#C22B9B #4FC22B #2BC29E
monochromatic
#5E154B #902073 #C22B9B #D952B6 #E484CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22B9B#FFFFFF#000000##FFFFFF
##C22B9B1.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)
#395F9E
Deuteranopia (green-blind)
#6A7798
Tritanopia (blue-blind)
#CE2F61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22b9b;
/* rgb */ color: rgb(194, 43, 155);
/* oklch */ color: oklch(56.6% 0.215 340.9);
Tailwind
colors: {
  custom: {
    50: '#d975b8',
    500: '#c22b9b',
    950: '#000000',
  },
}
SCSS
$custom: #c22b9b;
$custom-light: #d975b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b9b",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 315.497,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.21482,
    "h": 340.9
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#C22B9B
secondary
#7CCD91
accent
#E76C41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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