#B4397A#B4397A

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

Color values

HEX#B4397A
RGBrgb(180, 57, 122)
HSLhsl(328, 52%, 46%)
HSVhsv(328, 68%, 71%)
CMYKcmyk(0%, 68.3%, 32.2%, 29.4%)
CIE-LABlab(44.29, 55.29, -9.49)
CIE-LCHlch(44.29, 56.10, 350.26°)
OKLaboklab(54.22% 0.1688 -0.0245)
OKLCHoklch(54.22% 0.171 351.7)
XYZxyz(23.7996, 14.0373, 19.8647)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4397A #39B473
analogous
#B139B4 #B4397A #B4393C
triadic
#B4397A #7AB439 #397AB4
tetradic
#B4397A #B4B139 #39B473 #393CB4
square
#B4397A #B4B139 #39B473 #393CB4
split-complementary
#B4397A #3CB439 #39B4B1
monochromatic
#571C3B #862A5A #B4397A #CC5E98 #DB8DB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4397A#FFFFFF#000000##FFFFFF
##B4397A1.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)
#4C5B7C
Deuteranopia (green-blind)
#6F7177
Tritanopia (blue-blind)
#C13154
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4397a;
/* rgb */ color: rgb(180, 57, 122);
/* oklch */ color: oklch(54.2% 0.171 351.7);
Tailwind
colors: {
  custom: {
    50: '#cf78a0',
    500: '#b4397a',
    950: '#000000',
  },
}
SCSS
$custom: #b4397a;
$custom-light: #cf78a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4397a",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 328.293,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54217,
    "c": 0.17054,
    "h": 351.7
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#B4397A
secondary
#83C5A3
accent
#DB904C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B4397A

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

Preview Lab → · Contrast checker → · Palette generator →

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