#B9398B#B9398B

#B9398B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.184 H 345.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B9398B
RGBrgb(185, 57, 139)
HSLhsl(322, 53%, 47%)
HSVhsv(322, 69%, 73%)
CMYKcmyk(0%, 69.2%, 24.9%, 27.5%)
CIE-LABlab(45.78, 58.83, -17.50)
CIE-LCHlch(45.78, 61.37, 343.43°)
OKLaboklab(55.68% 0.1778 -0.0465)
OKLCHoklch(55.68% 0.184 345.4)
XYZxyz(26.1319, 15.1073, 25.9609)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9398B #39B967
analogous
#A739B9 #B9398B #B9394B
triadic
#B9398B #8BB939 #398BB9
tetradic
#B9398B #B9A739 #39B967 #394BB9
square
#B9398B #B9A739 #39B967 #394BB9
split-complementary
#B9398B #4BB939 #39B9A7
monochromatic
#5B1C45 #8A2B68 #B9398B #CE61A7 #DD90C1

Accessibility & contrast

On white

5.22
#B9398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B9398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9398B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9398B#FFFFFF#000000##FFFFFF
##B9398B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#6E7488
Tritanopia (blue-blind)
#C5375D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9398b;
/* rgb */ color: rgb(185, 57, 139);
/* oklch */ color: oklch(55.7% 0.184 345.4);
Tailwind
colors: {
  custom: {
    50: '#d279ad',
    500: '#b9398b',
    950: '#000000',
  },
}
SCSS
$custom: #b9398b;
$custom-light: #d279ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9398b",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 321.563,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.18376,
    "h": 345.4
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#B9398B
secondary
#86C89E
accent
#DC804B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B9398B

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

Preview Lab → · Contrast checker → · Palette generator →

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