#CB5581#CB5581

#CB5581 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.156 H 359.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB5581
RGBrgb(203, 85, 129)
HSLhsl(338, 53%, 56%)
HSVhsv(338, 58%, 80%)
CMYKcmyk(0%, 58.1%, 36.5%, 20.4%)
CIE-LABlab(52.71, 51.10, -0.82)
CIE-LCHlch(52.71, 51.10, 359.08°)
OKLaboklab(61.26% 0.1558 -0.0015)
OKLCHoklch(61.26% 0.156 359.5)
XYZxyz(31.8413, 20.7819, 23.0990)
Luminance0.2078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5581 #55CB9F
analogous
#CB55BC #CB5581 #CB6455
triadic
#CB5581 #81CB55 #5581CB
tetradic
#CB5581 #BCCB55 #55CB9F #6455CB
square
#CB5581 #BCCB55 #55CB9F #6455CB
split-complementary
#CB5581 #55CB64 #55BCCB
monochromatic
#7F2748 #AE3562 #CB5581 #D984A4 #E8B3C6

Accessibility & contrast

On white

4.07
#CB5581 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#CB5581 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5581
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5581#FFFFFF#000000##000000
##CB55811.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697082
Deuteranopia (green-blind)
#88867E
Tritanopia (blue-blind)
#DA4B66
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5581;
/* rgb */ color: rgb(203, 85, 129);
/* oklch */ color: oklch(61.3% 0.156 359.5);
Tailwind
colors: {
  custom: {
    50: '#df8aa5',
    500: '#cb5581',
    950: '#000000',
  },
}
SCSS
$custom: #cb5581;
$custom-light: #df8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5581",
  "rgb": {
    "r": 203,
    "g": 85,
    "b": 129
  },
  "hsl": {
    "h": 337.627,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.1558,
    "h": 359.5
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#CB5581
secondary
#A6D6C4
accent
#DDA64B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB5581

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

Preview Lab → · Contrast checker → · Palette generator →

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