#CB5981#CB5981

#CB5981 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.8% C 0.150 H 0.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5981
RGBrgb(203, 89, 129)
HSLhsl(339, 52%, 57%)
HSVhsv(339, 56%, 80%)
CMYKcmyk(0%, 56.2%, 36.5%, 20.4%)
CIE-LABlab(53.42, 49.22, 0.22)
CIE-LCHlch(53.42, 49.22, 0.25°)
OKLaboklab(61.79% 0.15 0.0012)
OKLCHoklch(61.79% 0.15 0.5)
XYZxyz(32.1652, 21.4296, 23.2070)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5981 #59CBA3
analogous
#CB59BA #CB5981 #CB6A59
triadic
#CB5981 #81CB59 #5981CB
tetradic
#CB5981 #BACB59 #59CBA3 #6A59CB
square
#CB5981 #BACB59 #59CBA3 #6A59CB
split-complementary
#CB5981 #59CB6A #59BACB
monochromatic
#812848 #B03761 #CB5981 #DA88A4 #E8B6C8

Accessibility & contrast

On white

3.97
#CB5981 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CB5981 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5981
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5981#FFFFFF#000000##000000
##CB59811.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7282
Deuteranopia (green-blind)
#8A887E
Tritanopia (blue-blind)
#DA4F68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5981;
/* rgb */ color: rgb(203, 89, 129);
/* oklch */ color: oklch(61.8% 0.150 0.5);
Tailwind
colors: {
  custom: {
    50: '#de8ca5',
    500: '#cb5981',
    950: '#000000',
  },
}
SCSS
$custom: #cb5981;
$custom-light: #de8ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5981",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 129
  },
  "hsl": {
    "h": 338.947,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61787,
    "c": 0.14995,
    "h": 0.5
  },
  "luminance": 0.21426
}

Semantic roles & 50–950 ramp

primary
#CB5981
secondary
#A9D7C7
accent
#DCA94C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5981

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

Preview Lab → · Contrast checker → · Palette generator →

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