#B6517C#B6517C

#B6517C is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.5% C 0.139 H 355.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B6517C
RGBrgb(182, 81, 124)
HSLhsl(334, 41%, 52%)
HSVhsv(334, 55%, 71%)
CMYKcmyk(0%, 55.5%, 31.9%, 28.6%)
CIE-LABlab(48.62, 45.51, -4.21)
CIE-LCHlch(48.62, 45.70, 354.71°)
OKLaboklab(57.52% 0.1383 -0.0105)
OKLCHoklch(57.52% 0.139 355.7)
XYZxyz(25.8731, 17.2877, 21.0391)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6517C #51B68B
analogous
#B651AF #B6517C #B65951
triadic
#B6517C #7CB651 #517CB6
tetradic
#B6517C #AFB651 #51B68B #5951B6
square
#B6517C #AFB651 #51B68B #5951B6
split-complementary
#B6517C #51B659 #51AFB6
monochromatic
#632A42 #8E3C5F #B6517C #C87C9C #DAA7BD

Accessibility & contrast

On white

4.71
#B6517C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B6517C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6517C
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6517C#FFFFFF#000000##FFFFFF
##B6517C1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60687D
Deuteranopia (green-blind)
#7B7A7A
Tritanopia (blue-blind)
#C34B61
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b6517c;
/* rgb */ color: rgb(182, 81, 124);
/* oklch */ color: oklch(57.5% 0.139 355.7);
Tailwind
colors: {
  custom: {
    50: '#cf86a1',
    500: '#b6517c',
    950: '#000000',
  },
}
SCSS
$custom: #b6517c;
$custom-light: #cf86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b6517c",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 334.455,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.1387,
    "h": 355.7
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#B6517C
secondary
#9BC8B5
accent
#D19D57
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #B6517C

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

Preview Lab → · Contrast checker → · Palette generator →

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