#CB517F#CB517F

#CB517F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.7% C 0.161 H 359.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB517F
RGBrgb(203, 81, 127)
HSLhsl(337, 54%, 56%)
HSVhsv(337, 60%, 80%)
CMYKcmyk(0%, 60.1%, 37.4%, 20.4%)
CIE-LABlab(51.97, 52.69, -0.71)
CIE-LCHlch(51.97, 52.69, 359.23°)
OKLaboklab(60.69% 0.1608 -0.0012)
OKLCHoklch(60.69% 0.161 359.6)
XYZxyz(31.4036, 20.1171, 22.3037)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB517F #51CB9D
analogous
#CB51BC #CB517F #CB6051
triadic
#CB517F #7FCB51 #517FCB
tetradic
#CB517F #BCCB51 #51CB9D #6051CB
square
#CB517F #BCCB51 #51CB9D #6051CB
split-complementary
#CB517F #51CB60 #51BCCB
monochromatic
#7C2546 #AC3361 #CB517F #D980A2 #E7AFC4

Accessibility & contrast

On white

4.18
#CB517F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB517F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB517F#FFFFFF#000000##000000
##CB517F1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#87857C
Tritanopia (blue-blind)
#DB4663
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb517f;
/* rgb */ color: rgb(203, 81, 127);
/* oklch */ color: oklch(60.7% 0.161 359.6);
Tailwind
colors: {
  custom: {
    50: '#df88a4',
    500: '#cb517f',
    950: '#000000',
  },
}
SCSS
$custom: #cb517f;
$custom-light: #df88a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb517f",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 337.377,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.1608,
    "h": 359.6
  },
  "luminance": 0.20114
}

Semantic roles & 50–950 ramp

primary
#CB517F
secondary
#A3D5C2
accent
#DDA64A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB517F

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

Preview Lab → · Contrast checker → · Palette generator →

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