#CB519A#CB519A

#CB519A is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.174 H 346.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CB519A
RGBrgb(203, 81, 154)
HSLhsl(324, 54%, 56%)
HSVhsv(324, 60%, 80%)
CMYKcmyk(0%, 60.1%, 24.1%, 20.4%)
CIE-LABlab(52.86, 56.05, -15.41)
CIE-LCHlch(52.86, 58.13, 344.63°)
OKLaboklab(61.64% 0.1689 -0.0407)
OKLCHoklch(61.64% 0.174 346.5)
XYZxyz(33.4049, 20.9176, 32.8438)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB519A #51CB82
analogous
#BF51CB #CB519A #CB515D
triadic
#CB519A #9ACB51 #519ACB
tetradic
#CB519A #CBBF51 #51CB82 #515DCB
square
#CB519A #CBBF51 #51CB82 #515DCB
split-complementary
#CB519A #5DCB51 #51CBBF
monochromatic
#7C2559 #AC337B #CB519A #D980B5 #E7AFD1

Accessibility & contrast

On white

4.05
#CB519A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CB519A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB519A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB519A#FFFFFF#000000##000000
##CB519A1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E719C
Deuteranopia (green-blind)
#808697
Tritanopia (blue-blind)
#D84F6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb519a;
/* rgb */ color: rgb(203, 81, 154);
/* oklch */ color: oklch(61.6% 0.174 346.5);
Tailwind
colors: {
  custom: {
    50: '#de88b7',
    500: '#cb519a',
    950: '#000000',
  },
}
SCSS
$custom: #cb519a;
$custom-light: #de88b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb519a",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 154
  },
  "hsl": {
    "h": 324.098,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.17371,
    "h": 346.5
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#CB519A
secondary
#A3D5B7
accent
#DD854A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB519A

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

Preview Lab → · Contrast checker → · Palette generator →

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