#C22987#C22987

#C22987 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.205 H 348.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C22987
RGBrgb(194, 41, 135)
HSLhsl(323, 65%, 46%)
HSVhsv(323, 79%, 76%)
CMYKcmyk(0%, 78.9%, 30.4%, 23.9%)
CIE-LABlab(45.37, 65.84, -15.56)
CIE-LCHlch(45.37, 67.65, 346.71°)
OKLaboklab(55.63% 0.2012 -0.0409)
OKLCHoklch(55.63% 0.205 348.5)
XYZxyz(27.4157, 14.8077, 24.3314)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22987 #29C264
analogous
#B029C2 #C22987 #C2293B
triadic
#C22987 #87C229 #2987C2
tetradic
#C22987 #C2B029 #29C264 #293BC2
square
#C22987 #C2B029 #29C264 #293BC2
split-complementary
#C22987 #3BC229 #29C2B0
monochromatic
#5D1441 #8F1E64 #C22987 #DA4EA4 #E481BE

Accessibility & contrast

On white

5.30
#C22987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C22987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22987
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22987#FFFFFF#000000##FFFFFF
##C229871.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#707584
Tritanopia (blue-blind)
#D02055
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c22987;
/* rgb */ color: rgb(194, 41, 135);
/* oklch */ color: oklch(55.6% 0.205 348.5);
Tailwind
colors: {
  custom: {
    50: '#d974aa',
    500: '#c22987',
    950: '#000000',
  },
}
SCSS
$custom: #c22987;
$custom-light: #d974aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c22987",
  "rgb": {
    "r": 194,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 323.137,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55629,
    "c": 0.2053,
    "h": 348.5
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#C22987
secondary
#7ACD9A
accent
#E88140
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#150910
muted
#847B7F

Preview Lab

Preview with #C22987

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

Preview Lab → · Contrast checker → · Palette generator →

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