#CB5798#CB5798

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

Color values

HEX#CB5798
RGBrgb(203, 87, 152)
HSLhsl(326, 53%, 57%)
HSVhsv(326, 57%, 80%)
CMYKcmyk(0%, 57.1%, 25.1%, 20.4%)
CIE-LABlab(53.80, 53.06, -12.81)
CIE-LCHlch(53.80, 54.59, 346.43°)
OKLaboklab(62.31% 0.1601 -0.0336)
OKLCHoklch(62.31% 0.164 348.1)
XYZxyz(33.7055, 21.7830, 32.1291)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5798 #57CB8A
analogous
#C457CB #CB5798 #CB575E
triadic
#CB5798 #98CB57 #5798CB
tetradic
#CB5798 #CBC457 #57CB8A #575ECB
square
#CB5798 #CBC457 #57CB8A #575ECB
split-complementary
#CB5798 #5ECB57 #57CBC4
monochromatic
#802859 #AF367A #CB5798 #D986B5 #E8B4D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5798#FFFFFF#000000##000000
##CB57981.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)
#64749A
Deuteranopia (green-blind)
#848895
Tritanopia (blue-blind)
#D85471
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb5798;
/* rgb */ color: rgb(203, 87, 152);
/* oklch */ color: oklch(62.3% 0.164 348.1);
Tailwind
colors: {
  custom: {
    50: '#de8cb6',
    500: '#cb5798',
    950: '#000000',
  },
}
SCSS
$custom: #cb5798;
$custom-light: #de8cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5798",
  "rgb": {
    "r": 203,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 326.379,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6231,
    "c": 0.16355,
    "h": 348.1
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5798

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

Preview Lab → · Contrast checker → · Palette generator →

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