#CB5887#CB5887

#CB5887 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.8% C 0.154 H 357.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB5887
RGBrgb(203, 88, 135)
HSLhsl(335, 53%, 57%)
HSVhsv(335, 57%, 80%)
CMYKcmyk(0%, 56.7%, 33.5%, 20.4%)
CIE-LABlab(53.42, 50.41, -3.34)
CIE-LCHlch(53.42, 50.52, 356.21°)
OKLaboklab(61.84% 0.1535 -0.0081)
OKLCHoklch(61.84% 0.154 357)
XYZxyz(32.4931, 21.4285, 25.3419)
Luminance0.2142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5887 #58CB9C
analogous
#CB58C1 #CB5887 #CB6358
triadic
#CB5887 #87CB58 #5887CB
tetradic
#CB5887 #C1CB58 #58CB9C #6358CB
square
#CB5887 #C1CB58 #58CB9C #6358CB
split-complementary
#CB5887 #58CB63 #58C1CB
monochromatic
#81284C #AF3768 #CB5887 #DA87A9 #E8B5CA

Accessibility & contrast

On white

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

On black

5.28
#CB5887 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5887
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5887#FFFFFF#000000##000000
##CB58871.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7288
Deuteranopia (green-blind)
#888884
Tritanopia (blue-blind)
#DA506A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb5887;
/* rgb */ color: rgb(203, 88, 135);
/* oklch */ color: oklch(61.8% 0.154 357.0);
Tailwind
colors: {
  custom: {
    50: '#de8ca9',
    500: '#cb5887',
    950: '#000000',
  },
}
SCSS
$custom: #cb5887;
$custom-light: #de8ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5887",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 135
  },
  "hsl": {
    "h": 335.478,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61844,
    "c": 0.15367,
    "h": 357
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#CB5887
secondary
#A8D7C4
accent
#DCA14C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5887

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

Preview Lab → · Contrast checker → · Palette generator →

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