#CB5497#CB5497

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

Color values

HEX#CB5497
RGBrgb(203, 84, 151)
HSLhsl(326, 53%, 56%)
HSVhsv(326, 59%, 80%)
CMYKcmyk(0%, 58.6%, 25.6%, 20.4%)
CIE-LABlab(53.25, 54.30, -13.05)
CIE-LCHlch(53.25, 55.85, 346.49°)
OKLaboklab(61.89% 0.164 -0.0342)
OKLCHoklch(61.89% 0.168 348.2)
XYZxyz(33.3861, 21.2747, 31.6203)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5497 #54CB88
analogous
#C354CB #CB5497 #CB545C
triadic
#CB5497 #97CB54 #5497CB
tetradic
#CB5497 #CBC354 #54CB88 #545CCB
square
#CB5497 #CBC354 #54CB88 #545CCB
split-complementary
#CB5497 #5CCB54 #54CBC3
monochromatic
#7E2658 #AD3578 #CB5497 #D983B4 #E8B2D0

Accessibility & contrast

On white

4.00
#CB5497 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CB5497 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5497
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5497#FFFFFF#000000##000000
##CB54971.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#D8516F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb5497;
/* rgb */ color: rgb(203, 84, 151);
/* oklch */ color: oklch(61.9% 0.168 348.2);
Tailwind
colors: {
  custom: {
    50: '#de8ab5',
    500: '#cb5497',
    950: '#000000',
  },
}
SCSS
$custom: #cb5497;
$custom-light: #de8ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5497",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 326.218,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.16751,
    "h": 348.2
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5497

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

Preview Lab → · Contrast checker → · Palette generator →

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