#B4387C#B4387C

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

Color values

HEX#B4387C
RGBrgb(180, 56, 124)
HSLhsl(327, 53%, 46%)
HSVhsv(327, 69%, 71%)
CMYKcmyk(0%, 68.9%, 31.1%, 29.4%)
CIE-LABlab(44.22, 55.92, -10.82)
CIE-LCHlch(44.22, 56.96, 349.05°)
OKLaboklab(54.19% 0.1705 -0.0281)
OKLCHoklch(54.19% 0.173 350.6)
XYZxyz(23.8759, 13.9895, 20.5078)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4387C #38B470
analogous
#AE38B4 #B4387C #B4383E
triadic
#B4387C #7CB438 #387CB4
tetradic
#B4387C #B4AE38 #38B470 #383EB4
square
#B4387C #B4AE38 #38B470 #383EB4
split-complementary
#B4387C #3EB438 #38B4AE
monochromatic
#571B3C #85295C #B4387C #CD5D9A #DB8BB7

Accessibility & contrast

On white

5.53
#B4387C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B4387C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4387C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4387C#FFFFFF#000000##FFFFFF
##B4387C1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7E
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#C13155
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4387c;
/* rgb */ color: rgb(180, 56, 124);
/* oklch */ color: oklch(54.2% 0.173 350.6);
Tailwind
colors: {
  custom: {
    50: '#cf78a2',
    500: '#b4387c',
    950: '#000000',
  },
}
SCSS
$custom: #b4387c;
$custom-light: #cf78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4387c",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 327.097,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5419,
    "c": 0.17284,
    "h": 350.6
  },
  "luminance": 0.13987
}

Semantic roles & 50–950 ramp

primary
#B4387C
secondary
#82C5A1
accent
#DC8D4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B4387C

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

Preview Lab → · Contrast checker → · Palette generator →

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