#B0518A#B0518A

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

Color values

HEX#B0518A
RGBrgb(176, 81, 138)
HSLhsl(324, 38%, 50%)
HSVhsv(324, 54%, 69%)
CMYKcmyk(0%, 54%, 21.6%, 31%)
CIE-LABlab(48.20, 45.48, -13.35)
CIE-LCHlch(48.20, 47.40, 343.65°)
OKLaboklab(57.18% 0.1361 -0.0353)
OKLCHoklch(57.18% 0.141 345.5)
XYZxyz(25.4350, 16.9521, 25.9723)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0518A #51B077
analogous
#A651B0 #B0518A #B0515A
triadic
#B0518A #8AB051 #518AB0
tetradic
#B0518A #B0A651 #51B077 #515AB0
square
#B0518A #B0A651 #51B077 #515AB0
split-complementary
#B0518A #5AB051 #51B0A6
monochromatic
#5D2A48 #873D69 #B0518A #C37BA6 #D6A5C3

Accessibility & contrast

On white

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

On black

4.39
#B0518A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B0518A#FFFFFF#000000##FFFFFF
##B0518A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#737888
Tritanopia (blue-blind)
#BA5067
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b0518a;
/* rgb */ color: rgb(176, 81, 138);
/* oklch */ color: oklch(57.2% 0.141 345.5);
Tailwind
colors: {
  custom: {
    50: '#ca86ac',
    500: '#b0518a',
    950: '#000000',
  },
}
SCSS
$custom: #b0518a;
$custom-light: #ca86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b0518a",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 324,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57179,
    "c": 0.14063,
    "h": 345.5
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0518A

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

Preview Lab → · Contrast checker → · Palette generator →

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