#B0517E#B0517E

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

Color values

HEX#B0517E
RGBrgb(176, 81, 126)
HSLhsl(332, 38%, 50%)
HSVhsv(332, 54%, 69%)
CMYKcmyk(0%, 54%, 28.4%, 31%)
CIE-LABlab(47.78, 43.78, -6.76)
CIE-LCHlch(47.78, 44.30, 351.22°)
OKLaboklab(56.73% 0.1325 -0.0174)
OKLCHoklch(56.73% 0.134 352.5)
XYZxyz(24.6138, 16.6236, 21.6470)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0517E #51B083
analogous
#B051AD #B0517E #B05451
triadic
#B0517E #7EB051 #517EB0
tetradic
#B0517E #ADB051 #51B083 #5451B0
square
#B0517E #ADB051 #51B083 #5451B0
split-complementary
#B0517E #51B054 #51ADB0
monochromatic
#5D2A42 #873D60 #B0517E #C37B9D #D6A5BC

Accessibility & contrast

On white

4.86
#B0517E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B0517E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0517E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0517E#FFFFFF#000000##FFFFFF
##B0517E1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0517e;
/* rgb */ color: rgb(176, 81, 126);
/* oklch */ color: oklch(56.7% 0.134 352.5);
Tailwind
colors: {
  custom: {
    50: '#ca85a3',
    500: '#b0517e',
    950: '#000000',
  },
}
SCSS
$custom: #b0517e;
$custom-light: #ca85a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0517e",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 331.579,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.13365,
    "h": 352.5
  },
  "luminance": 0.16621
}

Semantic roles & 50–950 ramp

primary
#B0517E
secondary
#99C4B0
accent
#CE975A
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #B0517E

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

Preview Lab → · Contrast checker → · Palette generator →

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