#B9517C#B9517C

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

Color values

HEX#B9517C
RGBrgb(185, 81, 124)
HSLhsl(335, 43%, 52%)
HSVhsv(335, 56%, 73%)
CMYKcmyk(0%, 56.2%, 33%, 27.5%)
CIE-LABlab(49.08, 46.50, -3.48)
CIE-LCHlch(49.08, 46.63, 355.72°)
OKLaboklab(57.95% 0.1415 -0.0086)
OKLCHoklch(57.95% 0.142 356.5)
XYZxyz(26.5894, 17.6570, 21.0727)
Luminance0.1765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9517C #51B98E
analogous
#B951B0 #B9517C #B95A51
triadic
#B9517C #7CB951 #517CB9
tetradic
#B9517C #B0B951 #51B98E #5A51B9
square
#B9517C #B0B951 #51B98E #5A51B9
split-complementary
#B9517C #51B95A #51B0B9
monochromatic
#662943 #923B5F #B9517C #CB7D9D #DCA8BE

Accessibility & contrast

On white

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

On black

4.53
#B9517C on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B9517C#FFFFFF#000000##FFFFFF
##B9517C1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61697D
Deuteranopia (green-blind)
#7C7C7A
Tritanopia (blue-blind)
#C64A61
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b9517c;
/* rgb */ color: rgb(185, 81, 124);
/* oklch */ color: oklch(57.9% 0.142 356.5);
Tailwind
colors: {
  custom: {
    50: '#d186a1',
    500: '#b9517c',
    950: '#000000',
  },
}
SCSS
$custom: #b9517c;
$custom-light: #d186a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9517c",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 124
  },
  "hsl": {
    "h": 335.192,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57949,
    "c": 0.14173,
    "h": 356.5
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#B9517C
secondary
#9CCAB7
accent
#D29F55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140B0F
muted
#837C7E

Preview Lab

Preview with #B9517C

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

Preview Lab → · Contrast checker → · Palette generator →

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