#C22B9E#C22B9E

#C22B9E is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.217 H 339.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C22B9E
RGBrgb(194, 43, 158)
HSLhsl(314, 64%, 46%)
HSVhsv(314, 78%, 76%)
CMYKcmyk(0%, 77.8%, 18.6%, 23.9%)
CIE-LABlab(46.54, 68.15, -27.63)
CIE-LCHlch(46.54, 73.54, 337.93°)
OKLaboklab(56.79% 0.2034 -0.0747)
OKLCHoklch(56.79% 0.217 339.8)
XYZxyz(29.2844, 15.6687, 33.8232)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B9E #2BC24F
analogous
#9B2BC2 #C22B9E #C22B52
triadic
#C22B9E #9EC22B #2B9EC2
tetradic
#C22B9E #C29B2B #2BC24F #2B52C2
square
#C22B9E #C29B2B #2BC24F #2B52C2
split-complementary
#C22B9E #52C22B #2BC29B
monochromatic
#5E154C #902075 #C22B9E #D952B8 #E484CD

Accessibility & contrast

On white

5.08
#C22B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22B9E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22B9E#FFFFFF#000000##FFFFFF
##C22B9E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#CE3162
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22b9e;
/* rgb */ color: rgb(194, 43, 158);
/* oklch */ color: oklch(56.8% 0.217 339.8);
Tailwind
colors: {
  custom: {
    50: '#d975bb',
    500: '#c22b9e',
    950: '#000000',
  },
}
SCSS
$custom: #c22b9e;
$custom-light: #d975bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b9e",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 314.305,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56792,
    "c": 0.2167,
    "h": 339.8
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#C22B9E
secondary
#7CCD8F
accent
#E76941
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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