#CB5787#CB5787

#CB5787 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.155 H 356.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CB5787
RGBrgb(203, 87, 135)
HSLhsl(335, 53%, 57%)
HSVhsv(335, 57%, 80%)
CMYKcmyk(0%, 57.1%, 33.5%, 20.4%)
CIE-LABlab(53.24, 50.88, -3.60)
CIE-LCHlch(53.24, 51.00, 355.95°)
OKLaboklab(61.71% 0.1549 -0.0088)
OKLCHoklch(61.71% 0.155 356.7)
XYZxyz(32.4116, 21.2655, 25.3147)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5787 #57CB9B
analogous
#CB57C1 #CB5787 #CB6157
triadic
#CB5787 #87CB57 #5787CB
tetradic
#CB5787 #C1CB57 #57CB9B #6157CB
square
#CB5787 #C1CB57 #57CB9B #6157CB
split-complementary
#CB5787 #57CB61 #57C1CB
monochromatic
#80284C #AF3668 #CB5787 #D986A8 #E8B4CA

Accessibility & contrast

On white

4.00
#CB5787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB5787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5787
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5787#FFFFFF#000000##000000
##CB57871.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697288
Deuteranopia (green-blind)
#888784
Tritanopia (blue-blind)
#DA4F69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5787;
/* rgb */ color: rgb(203, 87, 135);
/* oklch */ color: oklch(61.7% 0.155 356.7);
Tailwind
colors: {
  custom: {
    50: '#de8ba9',
    500: '#cb5787',
    950: '#000000',
  },
}
SCSS
$custom: #cb5787;
$custom-light: #de8ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5787",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 335.172,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.15516,
    "h": 356.7
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#CB5787
secondary
#A7D7C3
accent
#DCA04C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5787

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

Preview Lab → · Contrast checker → · Palette generator →

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