#B9398F#B9398F

#B9398F is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.9% C 0.186 H 343.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B9398F
RGBrgb(185, 57, 143)
HSLhsl(320, 53%, 47%)
HSVhsv(320, 69%, 73%)
CMYKcmyk(0%, 69.2%, 22.7%, 27.5%)
CIE-LABlab(45.94, 59.36, -19.67)
CIE-LCHlch(45.94, 62.53, 341.67°)
OKLaboklab(55.86% 0.1786 -0.0525)
OKLCHoklch(55.86% 0.186 343.6)
XYZxyz(26.4296, 15.2264, 27.5284)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9398F #39B963
analogous
#A339B9 #B9398F #B9394F
triadic
#B9398F #8FB939 #398FB9
tetradic
#B9398F #B9A339 #39B963 #394FB9
square
#B9398F #B9A339 #39B963 #394FB9
split-complementary
#B9398F #4FB939 #39B9A3
monochromatic
#5B1C47 #8A2B6B #B9398F #CE61AA #DD90C3

Accessibility & contrast

On white

5.19
#B9398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B9398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9398F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9398F#FFFFFF#000000##FFFFFF
##B9398F1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F91
Deuteranopia (green-blind)
#6C758C
Tritanopia (blue-blind)
#C5395F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b9398f;
/* rgb */ color: rgb(185, 57, 143);
/* oklch */ color: oklch(55.9% 0.186 343.6);
Tailwind
colors: {
  custom: {
    50: '#d27ab0',
    500: '#b9398f',
    950: '#000000',
  },
}
SCSS
$custom: #b9398f;
$custom-light: #d27ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#b9398f",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 319.688,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.18619,
    "h": 343.6
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#B9398F
secondary
#86C89C
accent
#DC7B4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #B9398F

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

Preview Lab → · Contrast checker → · Palette generator →

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