#B0518B#B0518B

#B0518B is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.2% C 0.141 H 344.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B0518B
RGBrgb(176, 81, 139)
HSLhsl(323, 38%, 50%)
HSVhsv(323, 54%, 69%)
CMYKcmyk(0%, 54%, 21%, 31%)
CIE-LABlab(48.24, 45.63, -13.89)
CIE-LCHlch(48.24, 47.70, 343.07°)
OKLaboklab(57.22% 0.1364 -0.0368)
OKLCHoklch(57.22% 0.141 344.9)
XYZxyz(25.5078, 16.9812, 26.3554)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0518B #51B076
analogous
#A551B0 #B0518B #B0515C
triadic
#B0518B #8BB051 #518BB0
tetradic
#B0518B #B0A551 #51B076 #515CB0
square
#B0518B #B0A551 #51B076 #515CB0
split-complementary
#B0518B #5CB051 #51B0A5
monochromatic
#5D2A49 #873D6A #B0518B #C37BA7 #D6A5C3

Accessibility & contrast

On white

4.78
#B0518B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#B0518B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0518B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0518B#FFFFFF#000000##FFFFFF
##B0518B1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59698D
Deuteranopia (green-blind)
#737889
Tritanopia (blue-blind)
#BA5068
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b0518b;
/* rgb */ color: rgb(176, 81, 139);
/* oklch */ color: oklch(57.2% 0.141 344.9);
Tailwind
colors: {
  custom: {
    50: '#ca86ad',
    500: '#b0518b',
    950: '#000000',
  },
}
SCSS
$custom: #b0518b;
$custom-light: #ca86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b0518b",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 139
  },
  "hsl": {
    "h": 323.368,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57218,
    "c": 0.14128,
    "h": 344.9
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#B0518B
secondary
#99C4AA
accent
#CE875A
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B0518B

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

Preview Lab → · Contrast checker → · Palette generator →

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