#CB5982#CB5982

#CB5982 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.150 H 359.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5982
RGBrgb(203, 89, 130)
HSLhsl(338, 52%, 57%)
HSVhsv(338, 56%, 80%)
CMYKcmyk(0%, 56.2%, 36%, 20.4%)
CIE-LABlab(53.45, 49.34, -0.33)
CIE-LCHlch(53.45, 49.34, 359.61°)
OKLaboklab(61.82% 0.1503 -0.0002)
OKLCHoklch(61.82% 0.15 359.9)
XYZxyz(32.2320, 21.4563, 23.5588)
Luminance0.2145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5982 #59CBA2
analogous
#CB59BB #CB5982 #CB6959
triadic
#CB5982 #82CB59 #5982CB
tetradic
#CB5982 #BBCB59 #59CBA2 #6959CB
square
#CB5982 #BBCB59 #59CBA2 #6959CB
split-complementary
#CB5982 #59CB69 #59BBCB
monochromatic
#812848 #B03762 #CB5982 #DA88A5 #E8B6C8

Accessibility & contrast

On white

3.97
#CB5982 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CB5982 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5982
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5982#FFFFFF#000000##000000
##CB59821.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7283
Deuteranopia (green-blind)
#8A887F
Tritanopia (blue-blind)
#DA4F68
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5982;
/* rgb */ color: rgb(203, 89, 130);
/* oklch */ color: oklch(61.8% 0.150 359.9);
Tailwind
colors: {
  custom: {
    50: '#de8ca6',
    500: '#cb5982',
    950: '#000000',
  },
}
SCSS
$custom: #cb5982;
$custom-light: #de8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5982",
  "rgb": {
    "r": 203,
    "g": 89,
    "b": 130
  },
  "hsl": {
    "h": 338.421,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61818,
    "c": 0.1503,
    "h": 359.9
  },
  "luminance": 0.21453
}

Semantic roles & 50–950 ramp

primary
#CB5982
secondary
#A9D7C6
accent
#DCA84C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5982

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

Preview Lab → · Contrast checker → · Palette generator →

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