#B9398C#B9398C

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

Color values

HEX#B9398C
RGBrgb(185, 57, 140)
HSLhsl(321, 53%, 47%)
HSVhsv(321, 69%, 73%)
CMYKcmyk(0%, 69.2%, 24.3%, 27.5%)
CIE-LABlab(45.82, 58.96, -18.04)
CIE-LCHlch(45.82, 61.66, 342.98°)
OKLaboklab(55.73% 0.178 -0.048)
OKLCHoklch(55.73% 0.184 344.9)
XYZxyz(26.2053, 15.1367, 26.3474)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9398C #39B966
analogous
#A639B9 #B9398C #B9394C
triadic
#B9398C #8CB939 #398CB9
tetradic
#B9398C #B9A639 #39B966 #394CB9
square
#B9398C #B9A639 #39B966 #394CB9
split-complementary
#B9398C #4CB939 #39B9A6
monochromatic
#5B1C45 #8A2B69 #B9398C #CE61A8 #DD90C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9398C#FFFFFF#000000##FFFFFF
##B9398C1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8E
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#C5375D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9398c;
/* rgb */ color: rgb(185, 57, 140);
/* oklch */ color: oklch(55.7% 0.184 344.9);
Tailwind
colors: {
  custom: {
    50: '#d279ad',
    500: '#b9398c',
    950: '#000000',
  },
}
SCSS
$custom: #b9398c;
$custom-light: #d279ad;
$custom-dark: #000000;
JSON
{
  "hex": "#b9398c",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 321.094,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55727,
    "c": 0.18435,
    "h": 344.9
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9398C

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

Preview Lab → · Contrast checker → · Palette generator →

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