#B4397C#B4397C

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

Color values

HEX#B4397C
RGBrgb(180, 57, 124)
HSLhsl(327, 52%, 46%)
HSVhsv(327, 68%, 71%)
CMYKcmyk(0%, 68.3%, 31.1%, 29.4%)
CIE-LABlab(44.36, 55.54, -10.61)
CIE-LCHlch(44.36, 56.54, 349.19°)
OKLaboklab(54.29% 0.1693 -0.0276)
OKLCHoklch(54.29% 0.172 350.8)
XYZxyz(23.9248, 14.0874, 20.5241)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4397C #39B471
analogous
#AF39B4 #B4397C #B4393F
triadic
#B4397C #7CB439 #397CB4
tetradic
#B4397C #B4AF39 #39B471 #393FB4
square
#B4397C #B4AF39 #39B471 #393FB4
split-complementary
#B4397C #3FB439 #39B4AF
monochromatic
#571C3C #862A5C #B4397C #CC5E9A #DB8DB7

Accessibility & contrast

On white

5.50
#B4397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4397C
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4397C#FFFFFF#000000##FFFFFF
##B4397C1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7E
Deuteranopia (green-blind)
#6E7179
Tritanopia (blue-blind)
#C13255
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b4397c;
/* rgb */ color: rgb(180, 57, 124);
/* oklch */ color: oklch(54.3% 0.172 350.8);
Tailwind
colors: {
  custom: {
    50: '#ce78a2',
    500: '#b4397c',
    950: '#000000',
  },
}
SCSS
$custom: #b4397c;
$custom-light: #ce78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4397c",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 327.317,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54293,
    "c": 0.17156,
    "h": 350.8
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#B4397C
secondary
#83C5A1
accent
#DB8E4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#140A0F
muted
#837C7E

Preview Lab

Preview with #B4397C

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

Preview Lab → · Contrast checker → · Palette generator →

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