#CB5487#CB5487

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

Color values

HEX#CB5487
RGBrgb(203, 84, 135)
HSLhsl(334, 53%, 56%)
HSVhsv(334, 59%, 80%)
CMYKcmyk(0%, 58.6%, 33.5%, 20.4%)
CIE-LABlab(52.72, 52.26, -4.37)
CIE-LCHlch(52.72, 52.45, 355.22°)
OKLaboklab(61.33% 0.1592 -0.0108)
OKLCHoklch(61.33% 0.16 356.1)
XYZxyz(32.1737, 20.7898, 25.2354)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5487 #54CB98
analogous
#CB54C2 #CB5487 #CB5D54
triadic
#CB5487 #87CB54 #5487CB
tetradic
#CB5487 #C2CB54 #54CB98 #5D54CB
square
#CB5487 #C2CB54 #54CB98 #5D54CB
split-complementary
#CB5487 #54CB5D #54C2CB
monochromatic
#7E264C #AD3568 #CB5487 #D983A8 #E8B2C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5487#FFFFFF#000000##000000
##CB54871.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)
#677089
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DA4C68
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb5487;
/* rgb */ color: rgb(203, 84, 135);
/* oklch */ color: oklch(61.3% 0.160 356.1);
Tailwind
colors: {
  custom: {
    50: '#de89a9',
    500: '#cb5487',
    950: '#000000',
  },
}
SCSS
$custom: #cb5487;
$custom-light: #de89a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5487",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 334.286,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61325,
    "c": 0.15958,
    "h": 356.1
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#CB5487
secondary
#A5D6C1
accent
#DD9E4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5487

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

Preview Lab → · Contrast checker → · Palette generator →

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