#B5387A#B5387A

#B5387A is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.173 H 351.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B5387A
RGBrgb(181, 56, 122)
HSLhsl(328, 53%, 46%)
HSVhsv(328, 69%, 71%)
CMYKcmyk(0%, 69.1%, 32.6%, 29%)
CIE-LABlab(44.32, 55.97, -9.42)
CIE-LCHlch(44.32, 56.75, 350.44°)
OKLaboklab(54.27% 0.1709 -0.0243)
OKLCHoklch(54.27% 0.173 351.9)
XYZxyz(23.9844, 14.0599, 19.8593)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5387A #38B573
analogous
#B238B5 #B5387A #B5383C
triadic
#B5387A #7AB538 #387AB5
tetradic
#B5387A #B5B238 #38B573 #383CB5
square
#B5387A #B5B238 #38B573 #383CB5
split-complementary
#B5387A #3CB538 #38B5B2
monochromatic
#581B3B #862A5A #B5387A #CD5D98 #DB8CB6

Accessibility & contrast

On white

5.51
#B5387A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B5387A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5387A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5387A#FFFFFF#000000##FFFFFF
##B5387A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7C
Deuteranopia (green-blind)
#6F7177
Tritanopia (blue-blind)
#C23054
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5387a;
/* rgb */ color: rgb(181, 56, 122);
/* oklch */ color: oklch(54.3% 0.173 351.9);
Tailwind
colors: {
  custom: {
    50: '#cf78a0',
    500: '#b5387a',
    950: '#000000',
  },
}
SCSS
$custom: #b5387a;
$custom-light: #cf78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b5387a",
  "rgb": {
    "r": 181,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 328.32,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.17265,
    "h": 351.9
  },
  "luminance": 0.14057
}

Semantic roles & 50–950 ramp

primary
#B5387A
secondary
#83C6A3
accent
#DC904C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B5387A

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

Preview Lab → · Contrast checker → · Palette generator →

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