#B4398A#B4398A

#B4398A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.179 H 344.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B4398A
RGBrgb(180, 57, 138)
HSLhsl(320, 52%, 46%)
HSVhsv(320, 68%, 71%)
CMYKcmyk(0%, 68.3%, 23.3%, 29.4%)
CIE-LABlab(44.90, 57.34, -18.32)
CIE-LCHlch(44.90, 60.20, 342.28°)
OKLaboklab(54.86% 0.1727 -0.0488)
OKLCHoklch(54.86% 0.179 344.2)
XYZxyz(24.8739, 14.4670, 25.5223)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4398A #39B463
analogous
#A139B4 #B4398A #B4394D
triadic
#B4398A #8AB439 #398AB4
tetradic
#B4398A #B4A139 #39B463 #394DB4
square
#B4398A #B4A139 #39B463 #394DB4
split-complementary
#B4398A #4DB439 #39B4A1
monochromatic
#571C43 #862A66 #B4398A #CC5EA7 #DB8DC0

Accessibility & contrast

On white

5.39
#B4398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B4398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4398A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4398A#FFFFFF#000000##FFFFFF
##B4398A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#6A7287
Tritanopia (blue-blind)
#C0385C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4398a;
/* rgb */ color: rgb(180, 57, 138);
/* oklch */ color: oklch(54.9% 0.179 344.2);
Tailwind
colors: {
  custom: {
    50: '#ce79ac',
    500: '#b4398a',
    950: '#000000',
  },
}
SCSS
$custom: #b4398a;
$custom-light: #ce79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b4398a",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 320.488,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.17949,
    "h": 344.2
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#B4398A
secondary
#83C59A
accent
#DB7D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4398A

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

Preview Lab → · Contrast checker → · Palette generator →

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