#CB5782#CB5782

#CB5782 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.6% C 0.153 H 359.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CB5782
RGBrgb(203, 87, 130)
HSLhsl(338, 53%, 57%)
HSVhsv(338, 57%, 80%)
CMYKcmyk(0%, 57.1%, 36%, 20.4%)
CIE-LABlab(53.09, 50.28, -0.86)
CIE-LCHlch(53.09, 50.29, 359.02°)
OKLaboklab(61.55% 0.1532 -0.0016)
OKLCHoklch(61.55% 0.153 359.4)
XYZxyz(32.0678, 21.1279, 23.5041)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5782 #57CBA0
analogous
#CB57BC #CB5782 #CB6657
triadic
#CB5782 #82CB57 #5782CB
tetradic
#CB5782 #BCCB57 #57CBA0 #6657CB
square
#CB5782 #BCCB57 #57CBA0 #6657CB
split-complementary
#CB5782 #57CB66 #57BCCB
monochromatic
#802848 #AF3663 #CB5782 #D986A5 #E8B4C8

Accessibility & contrast

On white

4.02
#CB5782 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CB5782 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5782
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5782#FFFFFF#000000##000000
##CB57821.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7183
Deuteranopia (green-blind)
#89877F
Tritanopia (blue-blind)
#DA4D67
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5782;
/* rgb */ color: rgb(203, 87, 130);
/* oklch */ color: oklch(61.6% 0.153 359.4);
Tailwind
colors: {
  custom: {
    50: '#de8ba6',
    500: '#cb5782',
    950: '#000000',
  },
}
SCSS
$custom: #cb5782;
$custom-light: #de8ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5782",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 130
  },
  "hsl": {
    "h": 337.759,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.15324,
    "h": 359.4
  },
  "luminance": 0.21125
}

Semantic roles & 50–950 ramp

primary
#CB5782
secondary
#A7D7C5
accent
#DCA74C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5782

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

Preview Lab → · Contrast checker → · Palette generator →

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