#CB517E#CB517E

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

Color values

HEX#CB517E
RGBrgb(203, 81, 126)
HSLhsl(338, 54%, 56%)
HSVhsv(338, 60%, 80%)
CMYKcmyk(0%, 60.1%, 37.9%, 20.4%)
CIE-LABlab(51.94, 52.58, -0.15)
CIE-LCHlch(51.94, 52.58, 359.83°)
OKLaboklab(60.66% 0.1605 0.0003)
OKLCHoklch(60.66% 0.16 0.1)
XYZxyz(31.3388, 20.0912, 21.9622)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB517E #51CB9E
analogous
#CB51BB #CB517E #CB6151
triadic
#CB517E #7ECB51 #517ECB
tetradic
#CB517E #BBCB51 #51CB9E #6151CB
square
#CB517E #BBCB51 #51CB9E #6151CB
split-complementary
#CB517E #51CB61 #51BBCB
monochromatic
#7C2545 #AC3360 #CB517E #D980A1 #E7AFC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB517E#FFFFFF#000000##000000
##CB517E1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#676D7F
Deuteranopia (green-blind)
#87847B
Tritanopia (blue-blind)
#DB4662
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb517e;
/* rgb */ color: rgb(203, 81, 126);
/* oklch */ color: oklch(60.7% 0.160 0.1);
Tailwind
colors: {
  custom: {
    50: '#df88a3',
    500: '#cb517e',
    950: '#000000',
  },
}
SCSS
$custom: #cb517e;
$custom-light: #df88a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb517e",
  "rgb": {
    "r": 203,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 337.869,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.16046,
    "h": 0.1
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#CB517E
secondary
#A3D5C3
accent
#DDA74A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB517E

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

Preview Lab → · Contrast checker → · Palette generator →

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