#B9398D#B9398D

#B9398D is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.8% C 0.185 H 344.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B9398D
RGBrgb(185, 57, 141)
HSLhsl(321, 53%, 47%)
HSVhsv(321, 69%, 73%)
CMYKcmyk(0%, 69.2%, 23.8%, 27.5%)
CIE-LABlab(45.86, 59.09, -18.58)
CIE-LCHlch(45.86, 61.94, 342.54°)
OKLaboklab(55.77% 0.1782 -0.0495)
OKLCHoklch(55.77% 0.185 344.5)
XYZxyz(26.2794, 15.1663, 26.7375)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9398D #39B965
analogous
#A539B9 #B9398D #B9394D
triadic
#B9398D #8DB939 #398DB9
tetradic
#B9398D #B9A539 #39B965 #394DB9
square
#B9398D #B9A539 #39B965 #394DB9
split-complementary
#B9398D #4DB939 #39B9A5
monochromatic
#5B1C46 #8A2B69 #B9398D #CE61A9 #DD90C2

Accessibility & contrast

On white

5.21
#B9398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B9398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9398D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9398D#FFFFFF#000000##FFFFFF
##B9398D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#6D748A
Tritanopia (blue-blind)
#C5385E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b9398d;
/* rgb */ color: rgb(185, 57, 141);
/* oklch */ color: oklch(55.8% 0.185 344.5);
Tailwind
colors: {
  custom: {
    50: '#d279ae',
    500: '#b9398d',
    950: '#000000',
  },
}
SCSS
$custom: #b9398d;
$custom-light: #d279ae;
$custom-dark: #000000;
JSON
{
  "hex": "#b9398d",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 320.625,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.18496,
    "h": 344.5
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#B9398D
secondary
#86C89D
accent
#DC7D4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B9398D

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

Preview Lab → · Contrast checker → · Palette generator →

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