#C22B9D#C22B9D

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

Color values

HEX#C22B9D
RGBrgb(194, 43, 157)
HSLhsl(315, 64%, 46%)
HSVhsv(315, 78%, 76%)
CMYKcmyk(0%, 77.8%, 19.1%, 23.9%)
CIE-LABlab(46.49, 68.02, -27.10)
CIE-LCHlch(46.49, 73.22, 338.27°)
OKLaboklab(56.74% 0.2033 -0.0732)
OKLCHoklch(56.74% 0.216 340.2)
XYZxyz(29.1987, 15.6344, 33.3718)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B9D #2BC250
analogous
#9C2BC2 #C22B9D #C22B52
triadic
#C22B9D #9DC22B #2B9DC2
tetradic
#C22B9D #C29C2B #2BC250 #2B52C2
square
#C22B9D #C29C2B #2BC250 #2B52C2
split-complementary
#C22B9D #52C22B #2BC29C
monochromatic
#5E154C #902074 #C22B9D #D952B8 #E484CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22B9D#FFFFFF#000000##FFFFFF
##C22B9D1.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)
#375FA0
Deuteranopia (green-blind)
#69779A
Tritanopia (blue-blind)
#CE3062
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22b9d;
/* rgb */ color: rgb(194, 43, 157);
/* oklch */ color: oklch(56.7% 0.216 340.2);
Tailwind
colors: {
  custom: {
    50: '#d975ba',
    500: '#c22b9d',
    950: '#000000',
  },
}
SCSS
$custom: #c22b9d;
$custom-light: #d975ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b9d",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 314.702,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56744,
    "c": 0.21606,
    "h": 340.2
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C22B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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