#B4387B#B4387B

#B4387B is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.172 H 351.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B4387B
RGBrgb(180, 56, 123)
HSLhsl(328, 53%, 46%)
HSVhsv(328, 69%, 71%)
CMYKcmyk(0%, 68.9%, 31.7%, 29.4%)
CIE-LABlab(44.18, 55.80, -10.26)
CIE-LCHlch(44.18, 56.74, 349.58°)
OKLaboklab(54.15% 0.1703 -0.0266)
OKLCHoklch(54.15% 0.172 351.1)
XYZxyz(23.8130, 13.9643, 20.1764)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4387B #38B471
analogous
#AF38B4 #B4387B #B4383D
triadic
#B4387B #7BB438 #387BB4
tetradic
#B4387B #B4AF38 #38B471 #383DB4
square
#B4387B #B4AF38 #38B471 #383DB4
split-complementary
#B4387B #3DB438 #38B4AF
monochromatic
#571B3B #85295B #B4387B #CD5D99 #DB8BB6

Accessibility & contrast

On white

5.54
#B4387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B4387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4387B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4387B#FFFFFF#000000##FFFFFF
##B4387B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7D
Deuteranopia (green-blind)
#6E7178
Tritanopia (blue-blind)
#C13154
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b4387b;
/* rgb */ color: rgb(180, 56, 123);
/* oklch */ color: oklch(54.2% 0.172 351.1);
Tailwind
colors: {
  custom: {
    50: '#cf78a1',
    500: '#b4387b',
    950: '#000000',
  },
}
SCSS
$custom: #b4387b;
$custom-light: #cf78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4387b",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 327.581,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.17234,
    "h": 351.1
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#B4387B
secondary
#82C5A1
accent
#DC8E4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B4387B

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

Preview Lab → · Contrast checker → · Palette generator →

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