#B4397B#B4397B

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

Color values

HEX#B4397B
RGBrgb(180, 57, 123)
HSLhsl(328, 52%, 46%)
HSVhsv(328, 68%, 71%)
CMYKcmyk(0%, 68.3%, 31.7%, 29.4%)
CIE-LABlab(44.32, 55.41, -10.05)
CIE-LCHlch(44.32, 56.32, 349.72°)
OKLaboklab(54.26% 0.1691 -0.026)
OKLCHoklch(54.26% 0.171 351.2)
XYZxyz(23.8619, 14.0623, 20.1927)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4397B #39B472
analogous
#B039B4 #B4397B #B4393E
triadic
#B4397B #7BB439 #397BB4
tetradic
#B4397B #B4B039 #39B472 #393EB4
square
#B4397B #B4B039 #39B472 #393EB4
split-complementary
#B4397B #3EB439 #39B4B0
monochromatic
#571C3B #862A5B #B4397B #CC5E99 #DB8DB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4397B#FFFFFF#000000##FFFFFF
##B4397B1.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)
#4C5B7D
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#C13255
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4397b;
/* rgb */ color: rgb(180, 57, 123);
/* oklch */ color: oklch(54.3% 0.171 351.2);
Tailwind
colors: {
  custom: {
    50: '#ce78a1',
    500: '#b4397b',
    950: '#000000',
  },
}
SCSS
$custom: #b4397b;
$custom-light: #ce78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4397b",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 327.805,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.17104,
    "h": 351.2
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#B4397B
secondary
#83C5A2
accent
#DB8F4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0E
muted
#837C7E

Preview Lab

Preview with #B4397B

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

Preview Lab → · Contrast checker → · Palette generator →

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