#CB5986#CB5986

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

Color values

HEX#CB5986
RGBrgb(203, 89, 134)
HSLhsl(336, 52%, 57%)
HSVhsv(336, 56%, 80%)
CMYKcmyk(0%, 56.2%, 34%, 20.4%)
CIE-LABlab(53.56, 49.82, -2.53)
CIE-LCHlch(53.56, 49.88, 357.09°)
OKLaboklab(61.94% 0.1517 -0.006)
OKLCHoklch(61.94% 0.152 357.7)
XYZxyz(32.5057, 21.5658, 25.0004)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5986 #59CB9E
analogous
#CB59BF #CB5986 #CB6559
triadic
#CB5986 #86CB59 #5986CB
tetradic
#CB5986 #BFCB59 #59CB9E #6559CB
square
#CB5986 #BFCB59 #59CB9E #6559CB
split-complementary
#CB5986 #59CB65 #59BFCB
monochromatic
#81284B #B03767 #CB5986 #DA88A8 #E8B6CA

Accessibility & contrast

On white

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

On black

5.31
#CB5986 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5986
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5986#FFFFFF#000000##000000
##CB59861.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb5986;
/* rgb */ color: rgb(203, 89, 134);
/* oklch */ color: oklch(61.9% 0.152 357.7);
Tailwind
colors: {
  custom: {
    50: '#de8ca9',
    500: '#cb5986',
    950: '#000000',
  },
}
SCSS
$custom: #cb5986;
$custom-light: #de8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5986",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 336.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.15178,
    "h": 357.7
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#CB5986
secondary
#A9D7C5
accent
#DCA34C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5986

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

Preview Lab → · Contrast checker → · Palette generator →

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