#CB518D#CB518D

#CB518D is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.2% C 0.167 H 352.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CB518D
RGBrgb(203, 81, 141)
HSLhsl(330, 54%, 56%)
HSVhsv(330, 60%, 80%)
CMYKcmyk(0%, 60.1%, 30.5%, 20.4%)
CIE-LABlab(52.41, 54.35, -8.40)
CIE-LCHlch(52.41, 55.00, 351.22°)
OKLaboklab(61.16% 0.1653 -0.0216)
OKLCHoklch(61.16% 0.167 352.6)
XYZxyz(32.3803, 20.5078, 27.4473)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB518D #51CB8F
analogous
#CB51CA #CB518D #CB5251
triadic
#CB518D #8DCB51 #518DCB
tetradic
#CB518D #CACB51 #51CB8F #5251CB
square
#CB518D #CACB51 #51CB8F #5251CB
split-complementary
#CB518D #51CB52 #51CACB
monochromatic
#7C2550 #AC336E #CB518D #D980AC #E7AFCB

Accessibility & contrast

On white

4.12
#CB518D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CB518D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB518D
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB518D#FFFFFF#000000##000000
##CB518D1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#84858A
Tritanopia (blue-blind)
#D94A69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb518d;
/* rgb */ color: rgb(203, 81, 141);
/* oklch */ color: oklch(61.2% 0.167 352.6);
Tailwind
colors: {
  custom: {
    50: '#de88ae',
    500: '#cb518d',
    950: '#000000',
  },
}
SCSS
$custom: #cb518d;
$custom-light: #de88ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cb518d",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 330.492,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61156,
    "c": 0.16667,
    "h": 352.6
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#CB518D
secondary
#A3D5BC
accent
#DD954A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB518D

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

Preview Lab → · Contrast checker → · Palette generator →

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