#CB517D#CB517D

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

Color values

HEX#CB517D
RGBrgb(203, 81, 125)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 60.1%, 38.4%, 20.4%)
CIE-LABlab(51.91, 52.47, 0.40)
CIE-LCHlch(51.91, 52.47, 0.44°)
OKLaboklab(60.62% 0.1601 0.0017)
OKLCHoklch(60.62% 0.16 0.6)
XYZxyz(31.2746, 20.0655, 21.6241)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB517D #51CB9F
analogous
#CB51BA #CB517D #CB6251
triadic
#CB517D #7DCB51 #517DCB
tetradic
#CB517D #BACB51 #51CB9F #6251CB
square
#CB517D #BACB51 #51CB9F #6251CB
split-complementary
#CB517D #51CB62 #51BACB
monochromatic
#7C2545 #AC335F #CB517D #D980A0 #E7AFC3

Accessibility & contrast

On white

4.19
#CB517D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB517D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB517D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB517D#FFFFFF#000000##000000
##CB517D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DB4562
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb517d;
/* rgb */ color: rgb(203, 81, 125);
/* oklch */ color: oklch(60.6% 0.160 0.6);
Tailwind
colors: {
  custom: {
    50: '#df88a2',
    500: '#cb517d',
    950: '#000000',
  },
}
SCSS
$custom: #cb517d;
$custom-light: #df88a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb517d",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 338.361,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60625,
    "c": 0.16013,
    "h": 0.6
  },
  "luminance": 0.20062
}

Semantic roles & 50–950 ramp

primary
#CB517D
secondary
#A3D5C3
accent
#DDA84A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB517D

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

Preview Lab → · Contrast checker → · Palette generator →

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