#CB519D#CB519D

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

Color values

HEX#CB519D
RGBrgb(203, 81, 157)
HSLhsl(323, 54%, 56%)
HSVhsv(323, 60%, 80%)
CMYKcmyk(0%, 60.1%, 22.7%, 20.4%)
CIE-LABlab(52.97, 56.46, -17.01)
CIE-LCHlch(52.97, 58.96, 343.24°)
OKLaboklab(61.76% 0.1696 -0.0451)
OKLCHoklch(61.76% 0.176 345.1)
XYZxyz(33.6579, 21.0188, 34.1762)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB519D #51CB7F
analogous
#BC51CB #CB519D #CB5160
triadic
#CB519D #9DCB51 #519DCB
tetradic
#CB519D #CBBC51 #51CB7F #5160CB
square
#CB519D #CBBC51 #51CB7F #5160CB
split-complementary
#CB519D #60CB51 #51CBBC
monochromatic
#7C255C #AC337E #CB519D #D980B8 #E7AFD2

Accessibility & contrast

On white

4.04
#CB519D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CB519D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB519D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB519D#FFFFFF#000000##000000
##CB519D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D719F
Deuteranopia (green-blind)
#7F869A
Tritanopia (blue-blind)
#D85070
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb519d;
/* rgb */ color: rgb(203, 81, 157);
/* oklch */ color: oklch(61.8% 0.176 345.1);
Tailwind
colors: {
  custom: {
    50: '#de88ba',
    500: '#cb519d',
    950: '#000000',
  },
}
SCSS
$custom: #cb519d;
$custom-light: #de88ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb519d",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 322.623,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61758,
    "c": 0.17552,
    "h": 345.1
  },
  "luminance": 0.21016
}

Semantic roles & 50–950 ramp

primary
#CB519D
secondary
#A3D5B6
accent
#DD824A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB519D

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

Preview Lab → · Contrast checker → · Palette generator →

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