#B0517A#B0517A

#B0517A is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.6% C 0.132 H 355.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B0517A
RGBrgb(176, 81, 122)
HSLhsl(334, 38%, 50%)
HSVhsv(334, 54%, 69%)
CMYKcmyk(0%, 54%, 30.7%, 31%)
CIE-LABlab(47.65, 43.24, -4.54)
CIE-LCHlch(47.65, 43.48, 354.01°)
OKLaboklab(56.59% 0.1312 -0.0114)
OKLCHoklch(56.59% 0.132 355)
XYZxyz(24.3608, 16.5224, 20.3147)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0517A #51B087
analogous
#B051A9 #B0517A #B05751
triadic
#B0517A #7AB051 #517AB0
tetradic
#B0517A #A9B051 #51B087 #5751B0
square
#B0517A #A9B051 #51B087 #5751B0
split-complementary
#B0517A #51B057 #51A9B0
monochromatic
#5D2A40 #873D5D #B0517A #C37B9A #D6A5BA

Accessibility & contrast

On white

4.88
#B0517A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B0517A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0517A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0517A#FFFFFF#000000##FFFFFF
##B0517A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E667B
Deuteranopia (green-blind)
#777878
Tritanopia (blue-blind)
#BC4B60
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b0517a;
/* rgb */ color: rgb(176, 81, 122);
/* oklch */ color: oklch(56.6% 0.132 355.0);
Tailwind
colors: {
  custom: {
    50: '#ca85a0',
    500: '#b0517a',
    950: '#000000',
  },
}
SCSS
$custom: #b0517a;
$custom-light: #ca85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0517a",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 334.105,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5659,
    "c": 0.13171,
    "h": 355
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#B0517A
secondary
#99C4B1
accent
#CE9C5A
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0E
muted
#827C7E

Preview Lab

Preview with #B0517A

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

Preview Lab → · Contrast checker → · Palette generator →

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