#CB5987#CB5987

#CB5987 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 62.0% C 0.152 H 357.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CB5987
RGBrgb(203, 89, 135)
HSLhsl(336, 52%, 57%)
HSVhsv(336, 56%, 80%)
CMYKcmyk(0%, 56.2%, 33.5%, 20.4%)
CIE-LABlab(53.59, 49.94, -3.08)
CIE-LCHlch(53.59, 50.03, 356.47°)
OKLaboklab(61.98% 0.152 -0.0074)
OKLCHoklch(61.98% 0.152 357.2)
XYZxyz(32.5758, 21.5938, 25.3694)
Luminance0.2159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5987 #59CB9D
analogous
#CB59C0 #CB5987 #CB6459
triadic
#CB5987 #87CB59 #5987CB
tetradic
#CB5987 #C0CB59 #59CB9D #6459CB
square
#CB5987 #C0CB59 #59CB9D #6459CB
split-complementary
#CB5987 #59CB64 #59C0CB
monochromatic
#81284C #B03768 #CB5987 #DA88A9 #E8B6CA

Accessibility & contrast

On white

3.95
#CB5987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CB5987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5987
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5987#FFFFFF#000000##000000
##CB59871.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#898884
Tritanopia (blue-blind)
#DA516A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5987;
/* rgb */ color: rgb(203, 89, 135);
/* oklch */ color: oklch(62.0% 0.152 357.2);
Tailwind
colors: {
  custom: {
    50: '#de8ca9',
    500: '#cb5987',
    950: '#000000',
  },
}
SCSS
$custom: #cb5987;
$custom-light: #de8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5987",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 335.789,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61977,
    "c": 0.15217,
    "h": 357.2
  },
  "luminance": 0.21591
}

Semantic roles & 50–950 ramp

primary
#CB5987
secondary
#A9D7C4
accent
#DCA24C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5987

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

Preview Lab → · Contrast checker → · Palette generator →

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