#CB5799#CB5799

#CB5799 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.164 H 347.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#CB5799
RGBrgb(203, 87, 153)
HSLhsl(326, 53%, 57%)
HSVhsv(326, 57%, 80%)
CMYKcmyk(0%, 57.1%, 24.6%, 20.4%)
CIE-LABlab(53.83, 53.20, -13.35)
CIE-LCHlch(53.83, 54.85, 345.92°)
OKLaboklab(62.35% 0.1603 -0.0351)
OKLCHoklch(62.35% 0.164 347.7)
XYZxyz(33.7877, 21.8159, 32.5622)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5799 #57CB89
analogous
#C357CB #CB5799 #CB575F
triadic
#CB5799 #99CB57 #5799CB
tetradic
#CB5799 #CBC357 #57CB89 #575FCB
square
#CB5799 #CBC357 #57CB89 #575FCB
split-complementary
#CB5799 #5FCB57 #57CBC3
monochromatic
#80285A #AF367B #CB5799 #D986B5 #E8B4D2

Accessibility & contrast

On white

3.92
#CB5799 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#CB5799 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5799
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5799#FFFFFF#000000##000000
##CB57991.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#838896
Tritanopia (blue-blind)
#D85471
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5799;
/* rgb */ color: rgb(203, 87, 153);
/* oklch */ color: oklch(62.3% 0.164 347.7);
Tailwind
colors: {
  custom: {
    50: '#de8cb7',
    500: '#cb5799',
    950: '#000000',
  },
}
SCSS
$custom: #cb5799;
$custom-light: #de8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5799",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 325.862,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.16413,
    "h": 347.7
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#CB5799
secondary
#A7D7BC
accent
#DC8A4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5799

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

Preview Lab → · Contrast checker → · Palette generator →

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