#B4397D#B4397D

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

Color values

HEX#B4397D
RGBrgb(180, 57, 125)
HSLhsl(327, 52%, 46%)
HSVhsv(327, 68%, 71%)
CMYKcmyk(0%, 68.3%, 30.6%, 29.4%)
CIE-LABlab(44.39, 55.66, -11.17)
CIE-LCHlch(44.39, 56.77, 348.66°)
OKLaboklab(54.33% 0.1696 -0.0291)
OKLCHoklch(54.33% 0.172 350.3)
XYZxyz(23.9884, 14.1128, 20.8588)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4397D #39B470
analogous
#AE39B4 #B4397D #B43940
triadic
#B4397D #7DB439 #397DB4
tetradic
#B4397D #B4AE39 #39B470 #3940B4
square
#B4397D #B4AE39 #39B470 #3940B4
split-complementary
#B4397D #40B439 #39B4AE
monochromatic
#571C3C #862A5D #B4397D #CC5E9B #DB8DB8

Accessibility & contrast

On white

5.49
#B4397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B4397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4397D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4397D#FFFFFF#000000##FFFFFF
##B4397D1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#6E717A
Tritanopia (blue-blind)
#C13356
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4397d;
/* rgb */ color: rgb(180, 57, 125);
/* oklch */ color: oklch(54.3% 0.172 350.3);
Tailwind
colors: {
  custom: {
    50: '#ce78a2',
    500: '#b4397d',
    950: '#000000',
  },
}
SCSS
$custom: #b4397d;
$custom-light: #ce78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4397d",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 326.829,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54332,
    "c": 0.17207,
    "h": 350.3
  },
  "luminance": 0.1411
}

Semantic roles & 50–950 ramp

primary
#B4397D
secondary
#83C5A1
accent
#DB8C4C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#140A0F
muted
#837C7F

Preview Lab

Preview with #B4397D

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

Preview Lab → · Contrast checker → · Palette generator →

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