#CB5985#CB5985

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

Color values

HEX#CB5985
RGBrgb(203, 89, 133)
HSLhsl(337, 52%, 57%)
HSVhsv(337, 56%, 80%)
CMYKcmyk(0%, 56.2%, 34.5%, 20.4%)
CIE-LABlab(53.53, 49.70, -1.98)
CIE-LCHlch(53.53, 49.74, 357.71°)
OKLaboklab(61.91% 0.1513 -0.0046)
OKLCHoklch(61.91% 0.151 358.3)
XYZxyz(32.4363, 21.5380, 24.6348)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5985 #59CB9F
analogous
#CB59BE #CB5985 #CB6659
triadic
#CB5985 #85CB59 #5985CB
tetradic
#CB5985 #BECB59 #59CB9F #6659CB
square
#CB5985 #BECB59 #59CB9F #6659CB
split-complementary
#CB5985 #59CB66 #59BECB
monochromatic
#81284B #B03766 #CB5985 #DA88A7 #E8B6C9

Accessibility & contrast

On white

3.96
#CB5985 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5985#FFFFFF#000000##000000
##CB59851.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7386
Deuteranopia (green-blind)
#898882
Tritanopia (blue-blind)
#DA506A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5985;
/* rgb */ color: rgb(203, 89, 133);
/* oklch */ color: oklch(61.9% 0.151 358.3);
Tailwind
colors: {
  custom: {
    50: '#de8ca8',
    500: '#cb5985',
    950: '#000000',
  },
}
SCSS
$custom: #cb5985;
$custom-light: #de8ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5985",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 133
  },
  "hsl": {
    "h": 336.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61913,
    "c": 0.15139,
    "h": 358.3
  },
  "luminance": 0.21535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5985

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

Preview Lab → · Contrast checker → · Palette generator →

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