#CB517A#CB517A

#CB517A is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.159 H 2.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB517A
RGBrgb(203, 81, 122)
HSLhsl(340, 54%, 56%)
HSVhsv(340, 60%, 80%)
CMYKcmyk(0%, 60.1%, 39.9%, 20.4%)
CIE-LABlab(51.83, 52.14, 2.07)
CIE-LCHlch(51.83, 52.18, 2.27°)
OKLaboklab(60.53% 0.1591 0.006)
OKLCHoklch(60.53% 0.159 2.2)
XYZxyz(31.0858, 19.9900, 20.6300)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB517A #51CBA2
analogous
#CB51B7 #CB517A #CB6551
triadic
#CB517A #7ACB51 #517ACB
tetradic
#CB517A #B7CB51 #51CBA2 #6551CB
square
#CB517A #B7CB51 #51CBA2 #6551CB
split-complementary
#CB517A #51CB65 #51B7CB
monochromatic
#7C2542 #AC335C #CB517A #D9809E #E7AFC2

Accessibility & contrast

On white

4.20
#CB517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB517A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB517A#FFFFFF#000000##000000
##CB517A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D7B
Deuteranopia (green-blind)
#888477
Tritanopia (blue-blind)
#DB4461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb517a;
/* rgb */ color: rgb(203, 81, 122);
/* oklch */ color: oklch(60.5% 0.159 2.2);
Tailwind
colors: {
  custom: {
    50: '#df87a0',
    500: '#cb517a',
    950: '#000000',
  },
}
SCSS
$custom: #cb517a;
$custom-light: #df87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb517a",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 339.836,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60533,
    "c": 0.15919,
    "h": 2.2
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#CB517A
secondary
#A3D5C4
accent
#DDAC4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB517A

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

Preview Lab → · Contrast checker → · Palette generator →

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