#CB5789#CB5789

#CB5789 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.8% C 0.156 H 355.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CB5789
RGBrgb(203, 87, 137)
HSLhsl(334, 53%, 57%)
HSVhsv(334, 57%, 80%)
CMYKcmyk(0%, 57.1%, 32.5%, 20.4%)
CIE-LABlab(53.30, 51.12, -4.70)
CIE-LCHlch(53.30, 51.34, 354.75°)
OKLaboklab(61.78% 0.1556 -0.0117)
OKLCHoklch(61.78% 0.156 355.7)
XYZxyz(32.5537, 21.3223, 26.0633)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5789 #57CB99
analogous
#CB57C3 #CB5789 #CB5F57
triadic
#CB5789 #89CB57 #5789CB
tetradic
#CB5789 #C3CB57 #57CB99 #5F57CB
square
#CB5789 #C3CB57 #57CB99 #5F57CB
split-complementary
#CB5789 #57CB5F #57C3CB
monochromatic
#80284E #AF366A #CB5789 #D986AA #E8B4CB

Accessibility & contrast

On white

3.99
#CB5789 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CB5789 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5789
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5789#FFFFFF#000000##000000
##CB57891.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#888786
Tritanopia (blue-blind)
#DA4F6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5789;
/* rgb */ color: rgb(203, 87, 137);
/* oklch */ color: oklch(61.8% 0.156 355.7);
Tailwind
colors: {
  custom: {
    50: '#de8bab',
    500: '#cb5789',
    950: '#000000',
  },
}
SCSS
$custom: #cb5789;
$custom-light: #de8bab;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5789",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 137
  },
  "hsl": {
    "h": 334.138,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61779,
    "c": 0.156,
    "h": 355.7
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#CB5789
secondary
#A7D7C2
accent
#DC9E4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB5789

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

Preview Lab → · Contrast checker → · Palette generator →

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