#B4387F#B4387F

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

Color values

HEX#B4387F
RGBrgb(180, 56, 127)
HSLhsl(326, 53%, 46%)
HSVhsv(326, 69%, 71%)
CMYKcmyk(0%, 68.9%, 29.4%, 29.4%)
CIE-LABlab(44.33, 56.29, -12.49)
CIE-LCHlch(44.33, 57.66, 347.49°)
OKLaboklab(54.31% 0.1713 -0.0327)
OKLCHoklch(54.31% 0.174 349.2)
XYZxyz(24.0685, 14.0666, 21.5222)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4387F #38B46D
analogous
#AB38B4 #B4387F #B43841
triadic
#B4387F #7FB438 #387FB4
tetradic
#B4387F #B4AB38 #38B46D #3841B4
square
#B4387F #B4AB38 #38B46D #3841B4
split-complementary
#B4387F #41B438 #38B4AB
monochromatic
#571B3D #85295E #B4387F #CD5D9D #DB8BB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4387F#FFFFFF#000000##FFFFFF
##B4387F1.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)
#4A5B81
Deuteranopia (green-blind)
#6D717C
Tritanopia (blue-blind)
#C13256
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4387f;
/* rgb */ color: rgb(180, 56, 127);
/* oklch */ color: oklch(54.3% 0.174 349.2);
Tailwind
colors: {
  custom: {
    50: '#ce78a4',
    500: '#b4387f',
    950: '#000000',
  },
}
SCSS
$custom: #b4387f;
$custom-light: #ce78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4387f",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 325.645,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.17442,
    "h": 349.2
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#B4387F
secondary
#82C59F
accent
#DC894C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4387F

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

Preview Lab → · Contrast checker → · Palette generator →

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