#B4397F#B4397F

#B4397F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.173 H 349.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B4397F
RGBrgb(180, 57, 127)
HSLhsl(326, 52%, 46%)
HSVhsv(326, 68%, 71%)
CMYKcmyk(0%, 68.3%, 29.4%, 29.4%)
CIE-LABlab(44.47, 55.91, -12.28)
CIE-LCHlch(44.47, 57.24, 347.61°)
OKLaboklab(54.41% 0.1701 -0.0321)
OKLCHoklch(54.41% 0.173 349.3)
XYZxyz(24.1174, 14.1645, 21.5385)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4397F #39B46E
analogous
#AC39B4 #B4397F #B43941
triadic
#B4397F #7FB439 #397FB4
tetradic
#B4397F #B4AC39 #39B46E #3941B4
square
#B4397F #B4AC39 #39B46E #3941B4
split-complementary
#B4397F #41B439 #39B4AC
monochromatic
#571C3D #862A5E #B4397F #CC5E9D #DB8DB9

Accessibility & contrast

On white

5.48
#B4397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B4397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4397F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4397F#FFFFFF#000000##FFFFFF
##B4397F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#C13357
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4397f;
/* rgb */ color: rgb(180, 57, 127);
/* oklch */ color: oklch(54.4% 0.173 349.3);
Tailwind
colors: {
  custom: {
    50: '#ce78a4',
    500: '#b4397f',
    950: '#000000',
  },
}
SCSS
$custom: #b4397f;
$custom-light: #ce78a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4397f",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 325.854,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.17313,
    "h": 349.3
  },
  "luminance": 0.14162
}

Semantic roles & 50–950 ramp

primary
#B4397F
secondary
#83C5A0
accent
#DB8A4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4397F

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

Preview Lab → · Contrast checker → · Palette generator →

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