#B9517E#B9517E

#B9517E is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.0% C 0.143 H 355.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B9517E
RGBrgb(185, 81, 126)
HSLhsl(334, 43%, 52%)
HSVhsv(334, 56%, 73%)
CMYKcmyk(0%, 56.2%, 31.9%, 27.5%)
CIE-LABlab(49.14, 46.76, -4.59)
CIE-LCHlch(49.14, 46.98, 354.39°)
OKLaboklab(58.02% 0.1421 -0.0115)
OKLCHoklch(58.02% 0.143 355.4)
XYZxyz(26.7171, 17.7081, 21.7456)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9517E #51B98C
analogous
#B951B2 #B9517E #B95851
triadic
#B9517E #7EB951 #517EB9
tetradic
#B9517E #B2B951 #51B98C #5851B9
square
#B9517E #B2B951 #51B98C #5851B9
split-complementary
#B9517E #51B958 #51B2B9
monochromatic
#662944 #923B61 #B9517E #CB7D9E #DCA8BF

Accessibility & contrast

On white

4.62
#B9517E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#B9517E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B9517E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9517E#FFFFFF#000000##FFFFFF
##B9517E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#7C7C7C
Tritanopia (blue-blind)
#C64A62
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b9517e;
/* rgb */ color: rgb(185, 81, 126);
/* oklch */ color: oklch(58.0% 0.143 355.4);
Tailwind
colors: {
  custom: {
    50: '#d186a3',
    500: '#b9517e',
    950: '#000000',
  },
}
SCSS
$custom: #b9517e;
$custom-light: #d186a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b9517e",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 126
  },
  "hsl": {
    "h": 334.038,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58016,
    "c": 0.1426,
    "h": 355.4
  },
  "luminance": 0.17706
}

Semantic roles & 50–950 ramp

primary
#B9517E
secondary
#9CCAB6
accent
#D29C55
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B9517E

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

Preview Lab → · Contrast checker → · Palette generator →

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