#B4398B#B4398B

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

Color values

HEX#B4398B
RGBrgb(180, 57, 139)
HSLhsl(320, 52%, 46%)
HSVhsv(320, 68%, 71%)
CMYKcmyk(0%, 68.3%, 22.8%, 29.4%)
CIE-LABlab(44.94, 57.48, -18.87)
CIE-LCHlch(44.94, 60.49, 341.83°)
OKLaboklab(54.91% 0.1729 -0.0503)
OKLCHoklch(54.91% 0.18 343.8)
XYZxyz(24.9466, 14.4961, 25.9053)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4398B #39B462
analogous
#A039B4 #B4398B #B4394E
triadic
#B4398B #8BB439 #398BB4
tetradic
#B4398B #B4A039 #39B462 #394EB4
square
#B4398B #B4A039 #39B462 #394EB4
split-complementary
#B4398B #4EB439 #39B4A0
monochromatic
#571C43 #862A67 #B4398B #CC5EA7 #DB8DC1

Accessibility & contrast

On white

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

On black

3.90
#B4398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4398B#FFFFFF#000000##FFFFFF
##B4398B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#6A7288
Tritanopia (blue-blind)
#BF395D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b4398b;
/* rgb */ color: rgb(180, 57, 139);
/* oklch */ color: oklch(54.9% 0.180 343.8);
Tailwind
colors: {
  custom: {
    50: '#ce79ad',
    500: '#b4398b',
    950: '#000000',
  },
}
SCSS
$custom: #b4398b;
$custom-light: #ce79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b4398b",
  "rgb": {
    "r": 180,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 320,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.18011,
    "h": 343.8
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#B4398B
secondary
#83C599
accent
#DB7C4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140A10
muted
#837C7F

Preview Lab

Preview with #B4398B

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

Preview Lab → · Contrast checker → · Palette generator →

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