#B8508A#B8508A

#B8508A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.149 H 348.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B8508A
RGBrgb(184, 80, 138)
HSLhsl(327, 42%, 52%)
HSVhsv(327, 57%, 72%)
CMYKcmyk(0%, 56.5%, 25%, 27.8%)
CIE-LABlab(49.21, 48.51, -11.70)
CIE-LCHlch(49.21, 49.91, 346.44°)
OKLaboklab(58.17% 0.1462 -0.0307)
OKLCHoklch(58.17% 0.149 348.1)
XYZxyz(27.2242, 17.7651, 26.0350)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8508A #50B87E
analogous
#B250B8 #B8508A #B85056
triadic
#B8508A #8AB850 #508AB8
tetradic
#B8508A #B8B250 #50B87E #5056B8
square
#B8508A #B8B250 #50B87E #5056B8
split-complementary
#B8508A #56B850 #50B8B2
monochromatic
#65294A #903B6A #B8508A #CA7CA7 #DBA7C4

Accessibility & contrast

On white

4.61
#B8508A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B8508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B8508A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8508A#FFFFFF#000000##FFFFFF
##B8508A1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8C
Deuteranopia (green-blind)
#787C87
Tritanopia (blue-blind)
#C44D67
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b8508a;
/* rgb */ color: rgb(184, 80, 138);
/* oklch */ color: oklch(58.2% 0.149 348.1);
Tailwind
colors: {
  custom: {
    50: '#d086ac',
    500: '#b8508a',
    950: '#000000',
  },
}
SCSS
$custom: #b8508a;
$custom-light: #d086ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b8508a",
  "rgb": {
    "r": 184,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 326.538,
    "s": 42.276,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5817,
    "c": 0.14943,
    "h": 348.1
  },
  "luminance": 0.17763
}

Semantic roles & 50–950 ramp

primary
#B8508A
secondary
#9BC9AF
accent
#D28D56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F

Preview Lab

Preview with #B8508A

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

Preview Lab → · Contrast checker → · Palette generator →

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