#CB519E#CB519E

#CB519E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.176 H 344.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CB519E
RGBrgb(203, 81, 158)
HSLhsl(322, 54%, 56%)
HSVhsv(322, 60%, 80%)
CMYKcmyk(0%, 60.1%, 22.2%, 20.4%)
CIE-LABlab(53.01, 56.60, -17.54)
CIE-LCHlch(53.01, 59.25, 342.78°)
OKLaboklab(61.8% 0.1699 -0.0466)
OKLCHoklch(61.8% 0.176 344.7)
XYZxyz(33.7436, 21.0531, 34.6276)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB519E #51CB7E
analogous
#BB51CB #CB519E #CB5161
triadic
#CB519E #9ECB51 #519ECB
tetradic
#CB519E #CBBB51 #51CB7E #5161CB
square
#CB519E #CBBB51 #51CB7E #5161CB
split-complementary
#CB519E #61CB51 #51CBBB
monochromatic
#7C255C #AC337F #CB519E #D980B8 #E7AFD3

Accessibility & contrast

On white

4.03
#CB519E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CB519E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB519E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB519E#FFFFFF#000000##000000
##CB519E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C72A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D75071
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb519e;
/* rgb */ color: rgb(203, 81, 158);
/* oklch */ color: oklch(61.8% 0.176 344.7);
Tailwind
colors: {
  custom: {
    50: '#de88ba',
    500: '#cb519e',
    950: '#000000',
  },
}
SCSS
$custom: #cb519e;
$custom-light: #de88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb519e",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 158
  },
  "hsl": {
    "h": 322.131,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.17614,
    "h": 344.7
  },
  "luminance": 0.2105
}

Semantic roles & 50–950 ramp

primary
#CB519E
secondary
#A3D5B5
accent
#DD814A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB519E

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

Preview Lab → · Contrast checker → · Palette generator →

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