#CB5786#CB5786

#CB5786 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.155 H 357.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB5786
RGBrgb(203, 87, 134)
HSLhsl(336, 53%, 57%)
HSVhsv(336, 57%, 80%)
CMYKcmyk(0%, 57.1%, 34%, 20.4%)
CIE-LABlab(53.21, 50.76, -3.05)
CIE-LCHlch(53.21, 50.85, 356.56°)
OKLaboklab(61.68% 0.1546 -0.0074)
OKLCHoklch(61.68% 0.155 357.3)
XYZxyz(32.3415, 21.2374, 24.9456)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5786 #57CB9C
analogous
#CB57C0 #CB5786 #CB6257
triadic
#CB5786 #86CB57 #5786CB
tetradic
#CB5786 #C0CB57 #57CB9C #6257CB
square
#CB5786 #C0CB57 #57CB9C #6257CB
split-complementary
#CB5786 #57CB62 #57C0CB
monochromatic
#80284B #AF3667 #CB5786 #D986A8 #E8B4C9

Accessibility & contrast

On white

4.00
#CB5786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB5786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5786
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5786#FFFFFF#000000##000000
##CB57861.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697287
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#DA4E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5786;
/* rgb */ color: rgb(203, 87, 134);
/* oklch */ color: oklch(61.7% 0.155 357.3);
Tailwind
colors: {
  custom: {
    50: '#de8ba9',
    500: '#cb5786',
    950: '#000000',
  },
}
SCSS
$custom: #cb5786;
$custom-light: #de8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5786",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 134
  },
  "hsl": {
    "h": 335.69,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.15476,
    "h": 357.3
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#CB5786
secondary
#A7D7C3
accent
#DCA24C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5786

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

Preview Lab → · Contrast checker → · Palette generator →

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