#B9397F#B9397F

#B9397F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.177 H 350.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B9397F
RGBrgb(185, 57, 127)
HSLhsl(327, 53%, 47%)
HSVhsv(327, 69%, 73%)
CMYKcmyk(0%, 69.2%, 31.4%, 27.5%)
CIE-LABlab(45.33, 57.31, -10.90)
CIE-LCHlch(45.33, 58.34, 349.23°)
OKLaboklab(55.2% 0.1749 -0.0283)
OKLCHoklch(55.2% 0.177 350.8)
XYZxyz(25.3028, 14.7757, 21.5940)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9397F #39B973
analogous
#B339B9 #B9397F #B9393F
triadic
#B9397F #7FB939 #397FB9
tetradic
#B9397F #B9B339 #39B973 #393FB9
square
#B9397F #B9B339 #39B973 #393FB9
split-complementary
#B9397F #3FB939 #39B9B3
monochromatic
#5B1C3F #8A2B5F #B9397F #CE619D #DD90BA

Accessibility & contrast

On white

5.31
#B9397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B9397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9397F
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9397F#FFFFFF#000000##FFFFFF
##B9397F1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#71747C
Tritanopia (blue-blind)
#C73257
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b9397f;
/* rgb */ color: rgb(185, 57, 127);
/* oklch */ color: oklch(55.2% 0.177 350.8);
Tailwind
colors: {
  custom: {
    50: '#d279a4',
    500: '#b9397f',
    950: '#000000',
  },
}
SCSS
$custom: #b9397f;
$custom-light: #d279a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b9397f",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 327.188,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.17714,
    "h": 350.8
  },
  "luminance": 0.14773
}

Semantic roles & 50–950 ramp

primary
#B9397F
secondary
#86C8A4
accent
#DC8D4B
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B9397F

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

Preview Lab → · Contrast checker → · Palette generator →

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