#B0518F#B0518F

#B0518F is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.144 H 342.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B0518F
RGBrgb(176, 81, 143)
HSLhsl(321, 38%, 50%)
HSVhsv(321, 54%, 69%)
CMYKcmyk(0%, 54%, 18.7%, 31%)
CIE-LABlab(48.39, 46.24, -16.06)
CIE-LCHlch(48.39, 48.95, 340.85°)
OKLaboklab(57.38% 0.1375 -0.0428)
OKLCHoklch(57.38% 0.144 342.7)
XYZxyz(25.8054, 17.1002, 27.9228)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0518F #51B072
analogous
#A151B0 #B0518F #B05160
triadic
#B0518F #8FB051 #518FB0
tetradic
#B0518F #B0A151 #51B072 #5160B0
square
#B0518F #B0A151 #51B072 #5160B0
split-complementary
#B0518F #60B051 #51B0A1
monochromatic
#5D2A4B #873D6D #B0518F #C37BAA #D6A5C5

Accessibility & contrast

On white

4.75
#B0518F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B0518F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0518F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0518F#FFFFFF#000000##FFFFFF
##B0518F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586991
Deuteranopia (green-blind)
#72798D
Tritanopia (blue-blind)
#BA5169
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b0518f;
/* rgb */ color: rgb(176, 81, 143);
/* oklch */ color: oklch(57.4% 0.144 342.7);
Tailwind
colors: {
  custom: {
    50: '#ca86b0',
    500: '#b0518f',
    950: '#000000',
  },
}
SCSS
$custom: #b0518f;
$custom-light: #ca86b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b0518f",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 320.842,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.14398,
    "h": 342.7
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#B0518F
secondary
#99C4A8
accent
#CE825A
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #B0518F

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

Preview Lab → · Contrast checker → · Palette generator →

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