#C22988#C22988

#C22988 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.7% C 0.206 H 348.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C22988
RGBrgb(194, 41, 136)
HSLhsl(323, 65%, 46%)
HSVhsv(323, 79%, 76%)
CMYKcmyk(0%, 78.9%, 29.9%, 23.9%)
CIE-LABlab(45.41, 65.95, -16.11)
CIE-LCHlch(45.41, 67.89, 346.28°)
OKLaboklab(55.67% 0.2014 -0.0424)
OKLCHoklch(55.67% 0.206 348.1)
XYZxyz(27.4865, 14.8360, 24.7039)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22988 #29C263
analogous
#AF29C2 #C22988 #C2293C
triadic
#C22988 #88C229 #2988C2
tetradic
#C22988 #C2AF29 #29C263 #293CC2
square
#C22988 #C2AF29 #29C263 #293CC2
split-complementary
#C22988 #3CC229 #29C2AF
monochromatic
#5D1441 #8F1E65 #C22988 #DA4EA5 #E481BF

Accessibility & contrast

On white

5.29
#C22988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C22988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22988
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22988#FFFFFF#000000##FFFFFF
##C229881.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8A
Deuteranopia (green-blind)
#707585
Tritanopia (blue-blind)
#D02056
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c22988;
/* rgb */ color: rgb(194, 41, 136);
/* oklch */ color: oklch(55.7% 0.206 348.1);
Tailwind
colors: {
  custom: {
    50: '#d974aa',
    500: '#c22988',
    950: '#000000',
  },
}
SCSS
$custom: #c22988;
$custom-light: #d974aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c22988",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 322.745,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55671,
    "c": 0.20582,
    "h": 348.1
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#C22988
secondary
#7ACD99
accent
#E88040
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#150910
muted
#847B7F

Preview Lab

Preview with #C22988

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

Preview Lab → · Contrast checker → · Palette generator →

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