#CB519C#CB519C

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

Color values

HEX#CB519C
RGBrgb(203, 81, 156)
HSLhsl(323, 54%, 56%)
HSVhsv(323, 60%, 80%)
CMYKcmyk(0%, 60.1%, 23.2%, 20.4%)
CIE-LABlab(52.93, 56.32, -16.47)
CIE-LCHlch(52.93, 58.68, 343.69°)
OKLaboklab(61.72% 0.1694 -0.0436)
OKLCHoklch(61.72% 0.175 345.6)
XYZxyz(33.5729, 20.9848, 33.7284)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB519C #51CB80
analogous
#BD51CB #CB519C #CB515F
triadic
#CB519C #9CCB51 #519CCB
tetradic
#CB519C #CBBD51 #51CB80 #515FCB
square
#CB519C #CBBD51 #51CB80 #515FCB
split-complementary
#CB519C #5FCB51 #51CBBD
monochromatic
#7C255B #AC337D #CB519C #D980B7 #E7AFD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB519C#FFFFFF#000000##000000
##CB519C1.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)
#5D719E
Deuteranopia (green-blind)
#808699
Tritanopia (blue-blind)
#D84F70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb519c;
/* rgb */ color: rgb(203, 81, 156);
/* oklch */ color: oklch(61.7% 0.175 345.6);
Tailwind
colors: {
  custom: {
    50: '#de88b9',
    500: '#cb519c',
    950: '#000000',
  },
}
SCSS
$custom: #cb519c;
$custom-light: #de88b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb519c",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 156
  },
  "hsl": {
    "h": 323.115,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.17491,
    "h": 345.6
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB519C

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

Preview Lab → · Contrast checker → · Palette generator →

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