#CB5899#CB5899

#CB5899 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.5% C 0.163 H 347.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CB5899
RGBrgb(203, 88, 153)
HSLhsl(326, 53%, 57%)
HSVhsv(326, 57%, 80%)
CMYKcmyk(0%, 56.7%, 24.6%, 20.4%)
CIE-LABlab(54.00, 52.74, -13.09)
CIE-LCHlch(54.00, 54.34, 346.06°)
OKLaboklab(62.48% 0.1589 -0.0344)
OKLCHoklch(62.48% 0.163 347.8)
XYZxyz(33.8692, 21.9790, 32.5894)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5899 #58CB8A
analogous
#C358CB #CB5899 #CB5860
triadic
#CB5899 #99CB58 #5899CB
tetradic
#CB5899 #CBC358 #58CB8A #5860CB
square
#CB5899 #CBC358 #58CB8A #5860CB
split-complementary
#CB5899 #60CB58 #58CBC3
monochromatic
#81285A #AF377B #CB5899 #DA87B6 #E8B5D2

Accessibility & contrast

On white

3.89
#CB5899 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB5899 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5899
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5899#FFFFFF#000000##000000
##CB58991.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#64759B
Deuteranopia (green-blind)
#848896
Tritanopia (blue-blind)
#D85572
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5899;
/* rgb */ color: rgb(203, 88, 153);
/* oklch */ color: oklch(62.5% 0.163 347.8);
Tailwind
colors: {
  custom: {
    50: '#de8cb7',
    500: '#cb5899',
    950: '#000000',
  },
}
SCSS
$custom: #cb5899;
$custom-light: #de8cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5899",
  "rgb": {
    "r": 203,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 326.087,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62477,
    "c": 0.1626,
    "h": 347.8
  },
  "luminance": 0.21976
}

Semantic roles & 50–950 ramp

primary
#CB5899
secondary
#A8D7BC
accent
#DC8B4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150C11
muted
#847D80

Preview Lab

Preview with #CB5899

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

Preview Lab → · Contrast checker → · Palette generator →

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