#C22B9C#C22B9C

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

Color values

HEX#C22B9C
RGBrgb(194, 43, 156)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 77.8%, 19.6%, 23.9%)
CIE-LABlab(46.45, 67.88, -26.57)
CIE-LCHlch(46.45, 72.90, 338.62°)
OKLaboklab(56.7% 0.2032 -0.0717)
OKLCHoklch(56.7% 0.215 340.6)
XYZxyz(29.1137, 15.6004, 32.9240)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B9C #2BC251
analogous
#9D2BC2 #C22B9C #C22B51
triadic
#C22B9C #9CC22B #2B9CC2
tetradic
#C22B9C #C29D2B #2BC251 #2B51C2
square
#C22B9C #C29D2B #2BC251 #2B51C2
split-complementary
#C22B9C #51C22B #2BC29D
monochromatic
#5E154B #902074 #C22B9C #D952B7 #E484CC

Accessibility & contrast

On white

5.10
#C22B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C22B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22B9C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22B9C#FFFFFF#000000##FFFFFF
##C22B9C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385F9F
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#CE3061
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22b9c;
/* rgb */ color: rgb(194, 43, 156);
/* oklch */ color: oklch(56.7% 0.215 340.6);
Tailwind
colors: {
  custom: {
    50: '#d975b9',
    500: '#c22b9c',
    950: '#000000',
  },
}
SCSS
$custom: #c22b9c;
$custom-light: #d975b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b9c",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 315.099,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.21545,
    "h": 340.6
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#C22B9C
secondary
#7CCD90
accent
#E76B41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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