#B9517D#B9517D

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

Color values

HEX#B9517D
RGBrgb(185, 81, 125)
HSLhsl(335, 43%, 52%)
HSVhsv(335, 56%, 73%)
CMYKcmyk(0%, 56.2%, 32.4%, 27.5%)
CIE-LABlab(49.11, 46.63, -4.04)
CIE-LCHlch(49.11, 46.80, 355.05°)
OKLaboklab(57.98% 0.1418 -0.01)
OKLCHoklch(57.98% 0.142 355.9)
XYZxyz(26.6529, 17.6824, 21.4074)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9517D #51B98D
analogous
#B951B1 #B9517D #B95951
triadic
#B9517D #7DB951 #517DB9
tetradic
#B9517D #B1B951 #51B98D #5951B9
square
#B9517D #B1B951 #51B98D #5951B9
split-complementary
#B9517D #51B959 #51B1B9
monochromatic
#662943 #923B60 #B9517D #CB7D9E #DCA8BE

Accessibility & contrast

On white

4.63
#B9517D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9517D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9517D#FFFFFF#000000##FFFFFF
##B9517D1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697E
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#C64A62
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b9517d;
/* rgb */ color: rgb(185, 81, 125);
/* oklch */ color: oklch(58.0% 0.142 355.9);
Tailwind
colors: {
  custom: {
    50: '#d186a2',
    500: '#b9517d',
    950: '#000000',
  },
}
SCSS
$custom: #b9517d;
$custom-light: #d186a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9517d",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 125
  },
  "hsl": {
    "h": 334.615,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57983,
    "c": 0.14215,
    "h": 355.9
  },
  "luminance": 0.1768
}

Semantic roles & 50–950 ramp

primary
#B9517D
secondary
#9CCAB6
accent
#D29E55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #B9517D

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

Preview Lab → · Contrast checker → · Palette generator →

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