#B9398A#B9398A

#B9398A is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.183 H 345.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B9398A
RGBrgb(185, 57, 138)
HSLhsl(322, 53%, 47%)
HSVhsv(322, 69%, 73%)
CMYKcmyk(0%, 69.2%, 25.4%, 27.5%)
CIE-LABlab(45.74, 58.70, -16.95)
CIE-LCHlch(45.74, 61.10, 343.89°)
OKLaboklab(55.64% 0.1776 -0.0449)
OKLCHoklch(55.64% 0.183 345.8)
XYZxyz(26.0592, 15.0782, 25.5778)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9398A #39B968
analogous
#A839B9 #B9398A #B9394A
triadic
#B9398A #8AB939 #398AB9
tetradic
#B9398A #B9A839 #39B968 #394AB9
square
#B9398A #B9A839 #39B968 #394AB9
split-complementary
#B9398A #4AB939 #39B9A8
monochromatic
#5B1C44 #8A2B67 #B9398A #CE61A6 #DD90C0

Accessibility & contrast

On white

5.23
#B9398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9398A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9398A#FFFFFF#000000##FFFFFF
##B9398A1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#6E7487
Tritanopia (blue-blind)
#C5375C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b9398a;
/* rgb */ color: rgb(185, 57, 138);
/* oklch */ color: oklch(55.6% 0.183 345.8);
Tailwind
colors: {
  custom: {
    50: '#d279ac',
    500: '#b9398a',
    950: '#000000',
  },
}
SCSS
$custom: #b9398a;
$custom-light: #d279ac;
$custom-dark: #000000;
JSON
{
  "hex": "#b9398a",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 322.031,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.18317,
    "h": 345.8
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9398A

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

Preview Lab → · Contrast checker → · Palette generator →

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