#CB517B#CB517B

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

Color values

HEX#CB517B
RGBrgb(203, 81, 123)
HSLhsl(339, 54%, 56%)
HSVhsv(339, 60%, 80%)
CMYKcmyk(0%, 60.1%, 39.4%, 20.4%)
CIE-LABlab(51.85, 52.25, 1.51)
CIE-LCHlch(51.85, 52.27, 1.66°)
OKLaboklab(60.56% 0.1594 0.0046)
OKLCHoklch(60.56% 0.16 1.6)
XYZxyz(31.1481, 20.0149, 20.9580)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB517B #51CBA1
analogous
#CB51B8 #CB517B #CB6451
triadic
#CB517B #7BCB51 #517BCB
tetradic
#CB517B #B8CB51 #51CBA1 #6451CB
square
#CB517B #B8CB51 #51CBA1 #6451CB
split-complementary
#CB517B #51CB64 #51B8CB
monochromatic
#7C2543 #AC335D #CB517B #D9809F #E7AFC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB517B#FFFFFF#000000##000000
##CB517B1.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)
#676D7C
Deuteranopia (green-blind)
#888478
Tritanopia (blue-blind)
#DB4561
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb517b;
/* rgb */ color: rgb(203, 81, 123);
/* oklch */ color: oklch(60.6% 0.160 1.6);
Tailwind
colors: {
  custom: {
    50: '#df87a1',
    500: '#cb517b',
    950: '#000000',
  },
}
SCSS
$custom: #cb517b;
$custom-light: #df87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb517b",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 123
  },
  "hsl": {
    "h": 339.344,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.1595,
    "h": 1.6
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB517B

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

Preview Lab → · Contrast checker → · Palette generator →

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