#B0517F#B0517F

#B0517F is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.8% C 0.134 H 351.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B0517F
RGBrgb(176, 81, 127)
HSLhsl(331, 38%, 50%)
HSVhsv(331, 54%, 69%)
CMYKcmyk(0%, 54%, 27.8%, 31%)
CIE-LABlab(47.82, 43.91, -7.31)
CIE-LCHlch(47.82, 44.52, 350.55°)
OKLaboklab(56.77% 0.1328 -0.0188)
OKLCHoklch(56.77% 0.134 351.9)
XYZxyz(24.6786, 16.6495, 21.9885)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0517F #51B082
analogous
#B051AE #B0517F #B05251
triadic
#B0517F #7FB051 #517FB0
tetradic
#B0517F #AEB051 #51B082 #5251B0
square
#B0517F #AEB051 #51B082 #5251B0
split-complementary
#B0517F #51B052 #51AEB0
monochromatic
#5D2A43 #873D61 #B0517F #C37B9E #D6A5BD

Accessibility & contrast

On white

4.85
#B0517F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B0517F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0517F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0517F#FFFFFF#000000##FFFFFF
##B0517F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#76787D
Tritanopia (blue-blind)
#BC4D62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b0517f;
/* rgb */ color: rgb(176, 81, 127);
/* oklch */ color: oklch(56.8% 0.134 351.9);
Tailwind
colors: {
  custom: {
    50: '#ca85a4',
    500: '#b0517f',
    950: '#000000',
  },
}
SCSS
$custom: #b0517f;
$custom-light: #ca85a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b0517f",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 330.947,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.13417,
    "h": 351.9
  },
  "luminance": 0.16647
}

Semantic roles & 50–950 ramp

primary
#B0517F
secondary
#99C4AF
accent
#CE965A
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #B0517F

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

Preview Lab → · Contrast checker → · Palette generator →

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