#B0518E#B0518E

#B0518E is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.143 H 343.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B0518E
RGBrgb(176, 81, 142)
HSLhsl(321, 38%, 50%)
HSVhsv(321, 54%, 69%)
CMYKcmyk(0%, 54%, 19.3%, 31%)
CIE-LABlab(48.35, 46.08, -15.52)
CIE-LCHlch(48.35, 48.63, 341.39°)
OKLaboklab(57.34% 0.1372 -0.0413)
OKLCHoklch(57.34% 0.143 343.3)
XYZxyz(25.7300, 17.0701, 27.5256)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0518E #51B073
analogous
#A251B0 #B0518E #B0515E
triadic
#B0518E #8EB051 #518EB0
tetradic
#B0518E #B0A251 #51B073 #515EB0
square
#B0518E #B0A251 #51B073 #515EB0
split-complementary
#B0518E #5EB051 #51B0A2
monochromatic
#5D2A4A #873D6C #B0518E #C37BA9 #D6A5C5

Accessibility & contrast

On white

4.76
#B0518E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B0518E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0518E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0518E#FFFFFF#000000##FFFFFF
##B0518E1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b0518e;
/* rgb */ color: rgb(176, 81, 142);
/* oklch */ color: oklch(57.3% 0.143 343.3);
Tailwind
colors: {
  custom: {
    50: '#ca86af',
    500: '#b0518e',
    950: '#000000',
  },
}
SCSS
$custom: #b0518e;
$custom-light: #ca86af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0518e",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 142
  },
  "hsl": {
    "h": 321.474,
    "s": 37.549,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.14329,
    "h": 343.3
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B0518E

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

Preview Lab → · Contrast checker → · Palette generator →

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