#CB5A82#CB5A82

#CB5A82 is a mid, vivid pink. Relative luminance 0.216; OKLCH L 62.0% C 0.149 H 0.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#CB5A82
RGBrgb(203, 90, 130)
HSLhsl(339, 52%, 57%)
HSVhsv(339, 56%, 80%)
CMYKcmyk(0%, 55.7%, 36%, 20.4%)
CIE-LABlab(53.63, 48.87, -0.07)
CIE-LCHlch(53.63, 48.87, 359.92°)
OKLaboklab(61.95% 0.1488 0.0004)
OKLCHoklch(61.95% 0.149 0.2)
XYZxyz(32.3158, 21.6239, 23.5867)
Luminance0.2162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5A82 #5ACBA3
analogous
#CB5ABB #CB5A82 #CB6A5A
triadic
#CB5A82 #82CB5A #5A82CB
tetradic
#CB5A82 #BBCB5A #5ACBA3 #6A5ACB
square
#CB5A82 #BBCB5A #5ACBA3 #6A5ACB
split-complementary
#CB5A82 #5ACB6A #5ABBCB
monochromatic
#822948 #B03862 #CB5A82 #DA89A5 #E8B7C9

Accessibility & contrast

On white

3.94
#CB5A82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#CB5A82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5A82
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5A82#FFFFFF#000000##000000
##CB5A821.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7383
Deuteranopia (green-blind)
#8B887F
Tritanopia (blue-blind)
#DA5169
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5a82;
/* rgb */ color: rgb(203, 90, 130);
/* oklch */ color: oklch(62.0% 0.149 0.2);
Tailwind
colors: {
  custom: {
    50: '#de8da6',
    500: '#cb5a82',
    950: '#000000',
  },
}
SCSS
$custom: #cb5a82;
$custom-light: #de8da6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5a82",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 130
  },
  "hsl": {
    "h": 338.761,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.14882,
    "h": 0.2
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#CB5A82
secondary
#AAD7C7
accent
#DCA94C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5A82

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

Preview Lab → · Contrast checker → · Palette generator →

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