#C22B87#C22B87

#C22B87 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.8% C 0.203 H 348.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C22B87
RGBrgb(194, 43, 135)
HSLhsl(323, 64%, 46%)
HSVhsv(323, 78%, 76%)
CMYKcmyk(0%, 77.8%, 30.4%, 23.9%)
CIE-LABlab(45.57, 65.28, -15.26)
CIE-LCHlch(45.57, 67.04, 346.84°)
OKLaboklab(55.77% 0.1994 -0.0401)
OKLCHoklch(55.77% 0.203 348.6)
XYZxyz(27.4867, 14.9496, 24.3550)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B87 #2BC266
analogous
#B22BC2 #C22B87 #C22B3B
triadic
#C22B87 #87C22B #2B87C2
tetradic
#C22B87 #C2B22B #2BC266 #2B3BC2
square
#C22B87 #C2B22B #2BC266 #2B3BC2
split-complementary
#C22B87 #3BC22B #2BC2B2
monochromatic
#5E1541 #902064 #C22B87 #D952A4 #E484BE

Accessibility & contrast

On white

5.26
#C22B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C22B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22B87
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22B87#FFFFFF#000000##FFFFFF
##C22B871.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#717584
Tritanopia (blue-blind)
#D02256
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c22b87;
/* rgb */ color: rgb(194, 43, 135);
/* oklch */ color: oklch(55.8% 0.203 348.6);
Tailwind
colors: {
  custom: {
    50: '#d974aa',
    500: '#c22b87',
    950: '#000000',
  },
}
SCSS
$custom: #c22b87;
$custom-light: #d974aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b87",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 323.444,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55771,
    "c": 0.20343,
    "h": 348.6
  },
  "luminance": 0.14946
}

Semantic roles & 50–950 ramp

primary
#C22B87
secondary
#7CCD9C
accent
#E78241
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22B87

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

Preview Lab → · Contrast checker → · Palette generator →

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