#B9517F#B9517F

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

Color values

HEX#B9517F
RGBrgb(185, 81, 127)
HSLhsl(333, 43%, 52%)
HSVhsv(333, 56%, 73%)
CMYKcmyk(0%, 56.2%, 31.4%, 27.5%)
CIE-LABlab(49.17, 46.88, -5.15)
CIE-LCHlch(49.17, 47.16, 353.73°)
OKLaboklab(58.05% 0.1425 -0.013)
OKLCHoklch(58.05% 0.143 354.8)
XYZxyz(26.7820, 17.7341, 22.0871)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9517F #51B98B
analogous
#B951B3 #B9517F #B95751
triadic
#B9517F #7FB951 #517FB9
tetradic
#B9517F #B3B951 #51B98B #5751B9
square
#B9517F #B3B951 #51B98B #5751B9
split-complementary
#B9517F #51B957 #51B3B9
monochromatic
#662944 #923B61 #B9517F #CB7D9F #DCA8BF

Accessibility & contrast

On white

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

On black

4.55
#B9517F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B9517F#FFFFFF#000000##FFFFFF
##B9517F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#7C7C7D
Tritanopia (blue-blind)
#C64B63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b9517f;
/* rgb */ color: rgb(185, 81, 127);
/* oklch */ color: oklch(58.1% 0.143 354.8);
Tailwind
colors: {
  custom: {
    50: '#d186a4',
    500: '#b9517f',
    950: '#000000',
  },
}
SCSS
$custom: #b9517f;
$custom-light: #d186a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b9517f",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 127
  },
  "hsl": {
    "h": 333.462,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.14305,
    "h": 354.8
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#B9517F
secondary
#9CCAB6
accent
#D29B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #B9517F

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

Preview Lab → · Contrast checker → · Palette generator →

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