#CB5498#CB5498

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

Color values

HEX#CB5498
RGBrgb(203, 84, 152)
HSLhsl(326, 53%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 58.6%, 25.1%, 20.4%)
CIE-LABlab(53.28, 54.44, -13.59)
CIE-LCHlch(53.28, 56.10, 345.99°)
OKLaboklab(61.93% 0.1643 -0.0357)
OKLCHoklch(61.93% 0.168 347.7)
XYZxyz(33.4676, 21.3073, 32.0498)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5498 #54CB87
analogous
#C254CB #CB5498 #CB545D
triadic
#CB5498 #98CB54 #5498CB
tetradic
#CB5498 #CBC254 #54CB87 #545DCB
square
#CB5498 #CBC254 #54CB87 #545DCB
split-complementary
#CB5498 #5DCB54 #54CBC2
monochromatic
#7E2659 #AD357A #CB5498 #D983B4 #E8B2D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5498#FFFFFF#000000##000000
##CB54981.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)
#61729A
Deuteranopia (green-blind)
#828795
Tritanopia (blue-blind)
#D8516F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5498;
/* rgb */ color: rgb(203, 84, 152);
/* oklch */ color: oklch(61.9% 0.168 347.7);
Tailwind
colors: {
  custom: {
    50: '#de8ab6',
    500: '#cb5498',
    950: '#000000',
  },
}
SCSS
$custom: #cb5498;
$custom-light: #de8ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5498",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 325.714,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.16808,
    "h": 347.7
  },
  "luminance": 0.21304
}

Semantic roles & 50–950 ramp

primary
#CB5498
secondary
#A5D6BA
accent
#DD894B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB5498

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

Preview Lab → · Contrast checker → · Palette generator →

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