#B4387E#B4387E

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

Color values

HEX#B4387E
RGBrgb(180, 56, 126)
HSLhsl(326, 53%, 46%)
HSVhsv(326, 69%, 71%)
CMYKcmyk(0%, 68.9%, 30%, 29.4%)
CIE-LABlab(44.29, 56.17, -11.93)
CIE-LCHlch(44.29, 57.42, 348.01°)
OKLaboklab(54.27% 0.1711 -0.0312)
OKLCHoklch(54.27% 0.174 349.7)
XYZxyz(24.0036, 14.0406, 21.1806)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4387E #38B46E
analogous
#AC38B4 #B4387E #B43840
triadic
#B4387E #7EB438 #387EB4
tetradic
#B4387E #B4AC38 #38B46E #3840B4
square
#B4387E #B4AC38 #38B46E #3840B4
split-complementary
#B4387E #40B438 #38B4AC
monochromatic
#571B3D #85295D #B4387E #CD5D9C #DB8BB8

Accessibility & contrast

On white

5.52
#B4387E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4387E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4387E#FFFFFF#000000##FFFFFF
##B4387E1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#6D717B
Tritanopia (blue-blind)
#C13256
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4387e;
/* rgb */ color: rgb(180, 56, 126);
/* oklch */ color: oklch(54.3% 0.174 349.7);
Tailwind
colors: {
  custom: {
    50: '#ce78a3',
    500: '#b4387e',
    950: '#000000',
  },
}
SCSS
$custom: #b4387e;
$custom-light: #ce78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4387e",
  "rgb": {
    "r": 180,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 326.129,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.17388,
    "h": 349.7
  },
  "luminance": 0.14038
}

Semantic roles & 50–950 ramp

primary
#B4387E
secondary
#82C5A0
accent
#DC8B4C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4387E

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

Preview Lab → · Contrast checker → · Palette generator →

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