#B9518C#B9518C

#B9518C is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.5% C 0.150 H 347.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B9518C
RGBrgb(185, 81, 140)
HSLhsl(326, 43%, 52%)
HSVhsv(326, 56%, 73%)
CMYKcmyk(0%, 56.2%, 24.3%, 27.5%)
CIE-LABlab(49.61, 48.63, -12.28)
CIE-LCHlch(49.61, 50.16, 345.83°)
OKLaboklab(58.52% 0.1464 -0.0323)
OKLCHoklch(58.52% 0.15 347.6)
XYZxyz(27.6845, 18.0951, 26.8405)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9518C #51B97E
analogous
#B251B9 #B9518C #B95158
triadic
#B9518C #8CB951 #518CB9
tetradic
#B9518C #B9B251 #51B97E #5158B9
square
#B9518C #B9B251 #51B97E #5158B9
split-complementary
#B9518C #58B951 #51B9B2
monochromatic
#66294C #923B6C #B9518C #CB7DA9 #DCA8C6

Accessibility & contrast

On white

4.55
#B9518C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#B9518C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B9518C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9518C#FFFFFF#000000##000000
##B9518C1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B8E
Deuteranopia (green-blind)
#787D89
Tritanopia (blue-blind)
#C54F68
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b9518c;
/* rgb */ color: rgb(185, 81, 140);
/* oklch */ color: oklch(58.5% 0.150 347.6);
Tailwind
colors: {
  custom: {
    50: '#d186ad',
    500: '#b9518c',
    950: '#000000',
  },
}
SCSS
$custom: #b9518c;
$custom-light: #d186ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9518c",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 140
  },
  "hsl": {
    "h": 325.962,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58522,
    "c": 0.14992,
    "h": 347.6
  },
  "luminance": 0.18093
}

Semantic roles & 50–950 ramp

primary
#B9518C
secondary
#9CCAB0
accent
#D28B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B9518C

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

Preview Lab → · Contrast checker → · Palette generator →

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