#B4398D#B4398D

#B4398D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.181 H 342.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B4398D
RGBrgb(180, 57, 141)
HSLhsl(319, 52%, 46%)
HSVhsv(319, 68%, 71%)
CMYKcmyk(0%, 68.3%, 21.7%, 29.4%)
CIE-LABlab(45.02, 57.75, -19.95)
CIE-LCHlch(45.02, 61.10, 340.94°)
OKLaboklab(54.99% 0.1733 -0.0534)
OKLCHoklch(54.99% 0.181 342.9)
XYZxyz(25.0940, 14.5551, 26.6820)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4398D #39B460
analogous
#9E39B4 #B4398D #B43950
triadic
#B4398D #8DB439 #398DB4
tetradic
#B4398D #B49E39 #39B460 #3950B4
square
#B4398D #B49E39 #39B460 #3950B4
split-complementary
#B4398D #50B439 #39B49E
monochromatic
#571C44 #862A69 #B4398D #CC5EA9 #DB8DC2

Accessibility & contrast

On white

5.37
#B4398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B4398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4398D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4398D#FFFFFF#000000##FFFFFF
##B4398D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E8F
Deuteranopia (green-blind)
#69728A
Tritanopia (blue-blind)
#BF3A5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4398d;
/* rgb */ color: rgb(180, 57, 141);
/* oklch */ color: oklch(55.0% 0.181 342.9);
Tailwind
colors: {
  custom: {
    50: '#ce79ae',
    500: '#b4398d',
    950: '#000000',
  },
}
SCSS
$custom: #b4398d;
$custom-light: #ce79ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b4398d",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 319.024,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.18137,
    "h": 342.9
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#B4398D
secondary
#83C598
accent
#DB7A4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4398D

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

Preview Lab → · Contrast checker → · Palette generator →

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