#B9397C#B9397C

#B9397C is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.176 H 352.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B9397C
RGBrgb(185, 57, 124)
HSLhsl(329, 53%, 47%)
HSVhsv(329, 69%, 73%)
CMYKcmyk(0%, 69.2%, 33%, 27.5%)
CIE-LABlab(45.22, 56.96, -9.23)
CIE-LCHlch(45.22, 57.70, 350.80°)
OKLaboklab(55.09% 0.174 -0.0238)
OKLCHoklch(55.09% 0.176 352.2)
XYZxyz(25.1102, 14.6986, 20.5796)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9397C #39B976
analogous
#B639B9 #B9397C #B9393C
triadic
#B9397C #7CB939 #397CB9
tetradic
#B9397C #B9B639 #39B976 #393CB9
square
#B9397C #B9B639 #39B976 #393CB9
split-complementary
#B9397C #3CB939 #39B9B6
monochromatic
#5B1C3D #8A2B5D #B9397C #CE619A #DD90B8

Accessibility & contrast

On white

5.33
#B9397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B9397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9397C
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9397C#FFFFFF#000000##FFFFFF
##B9397C1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7E
Deuteranopia (green-blind)
#727379
Tritanopia (blue-blind)
#C73055
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b9397c;
/* rgb */ color: rgb(185, 57, 124);
/* oklch */ color: oklch(55.1% 0.176 352.2);
Tailwind
colors: {
  custom: {
    50: '#d279a1',
    500: '#b9397c',
    950: '#000000',
  },
}
SCSS
$custom: #b9397c;
$custom-light: #d279a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b9397c",
  "rgb": {
    "r": 185,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 328.594,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.17565,
    "h": 352.2
  },
  "luminance": 0.14696
}

Semantic roles & 50–950 ramp

primary
#B9397C
secondary
#86C8A5
accent
#DC914B
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #B9397C

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

Preview Lab → · Contrast checker → · Palette generator →

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