#CB5087#CB5087

#CB5087 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.8% C 0.165 H 355.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CB5087
RGBrgb(203, 80, 135)
HSLhsl(333, 54%, 55%)
HSVhsv(333, 61%, 80%)
CMYKcmyk(0%, 60.6%, 33.5%, 20.4%)
CIE-LABlab(52.05, 54.06, -5.36)
CIE-LCHlch(52.05, 54.33, 354.33°)
OKLaboklab(60.83% 0.1648 -0.0134)
OKLCHoklch(60.83% 0.165 355.3)
XYZxyz(31.8721, 20.1865, 25.1349)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5087 #50CB94
analogous
#CB50C4 #CB5087 #CB5650
triadic
#CB5087 #87CB50 #5087CB
tetradic
#CB5087 #C4CB50 #50CB94 #5650CB
square
#CB5087 #C4CB50 #50CB94 #5650CB
split-complementary
#CB5087 #50CB56 #50C4CB
monochromatic
#7C254C #AB3369 #CB5087 #D97FA7 #E7AEC8

Accessibility & contrast

On white

4.17
#CB5087 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CB5087 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5087
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5087#FFFFFF#000000##000000
##CB50871.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DA4766
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb5087;
/* rgb */ color: rgb(203, 80, 135);
/* oklch */ color: oklch(60.8% 0.165 355.3);
Tailwind
colors: {
  custom: {
    50: '#df87a9',
    500: '#cb5087',
    950: '#000000',
  },
}
SCSS
$custom: #cb5087;
$custom-light: #df87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5087",
  "rgb": {
    "r": 203,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 333.171,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.16536,
    "h": 355.3
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#CB5087
secondary
#A2D5BE
accent
#DE9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5087

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

Preview Lab → · Contrast checker → · Palette generator →

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