#CB5785#CB5785

#CB5785 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.6% C 0.154 H 357.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CB5785
RGBrgb(203, 87, 133)
HSLhsl(336, 53%, 57%)
HSVhsv(336, 57%, 80%)
CMYKcmyk(0%, 57.1%, 34.5%, 20.4%)
CIE-LABlab(53.18, 50.64, -2.51)
CIE-LCHlch(53.18, 50.70, 357.17°)
OKLaboklab(61.65% 0.1542 -0.0059)
OKLCHoklch(61.65% 0.154 357.8)
XYZxyz(32.2721, 21.2097, 24.5801)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5785 #57CB9D
analogous
#CB57BF #CB5785 #CB6357
triadic
#CB5785 #85CB57 #5785CB
tetradic
#CB5785 #BFCB57 #57CB9D #6357CB
square
#CB5785 #BFCB57 #57CB9D #6357CB
split-complementary
#CB5785 #57CB63 #57BFCB
monochromatic
#80284B #AF3666 #CB5785 #D986A7 #E8B4C9

Accessibility & contrast

On white

4.01
#CB5785 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#CB5785 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5785
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5785#FFFFFF#000000##000000
##CB57851.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7186
Deuteranopia (green-blind)
#888782
Tritanopia (blue-blind)
#DA4E69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5785;
/* rgb */ color: rgb(203, 87, 133);
/* oklch */ color: oklch(61.6% 0.154 357.8);
Tailwind
colors: {
  custom: {
    50: '#de8ba8',
    500: '#cb5785',
    950: '#000000',
  },
}
SCSS
$custom: #cb5785;
$custom-light: #de8ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5785",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 133
  },
  "hsl": {
    "h": 336.207,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.15435,
    "h": 357.8
  },
  "luminance": 0.21206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5785

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

Preview Lab → · Contrast checker → · Palette generator →

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