#B8397B#B8397B

#B8397B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.174 H 352.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B8397B
RGBrgb(184, 57, 123)
HSLhsl(329, 53%, 47%)
HSVhsv(329, 69%, 72%)
CMYKcmyk(0%, 69%, 33.2%, 27.8%)
CIE-LABlab(45.01, 56.55, -8.95)
CIE-LCHlch(45.01, 57.26, 351.01°)
OKLaboklab(54.89% 0.1728 -0.023)
OKLCHoklch(54.89% 0.174 352.4)
XYZxyz(24.8068, 14.5495, 20.2370)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397B #39B876
analogous
#B639B8 #B8397B #B8393C
triadic
#B8397B #7BB839 #397BB8
tetradic
#B8397B #B8B639 #39B876 #393CB8
square
#B8397B #B8B639 #39B876 #393CB8
split-complementary
#B8397B #3CB839 #39B8B6
monochromatic
#5B1C3D #892B5C #B8397B #CE6099 #DC8FB7

Accessibility & contrast

On white

5.37
#B8397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B8397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8397B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8397B#FFFFFF#000000##FFFFFF
##B8397B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#717378
Tritanopia (blue-blind)
#C63055
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8397b;
/* rgb */ color: rgb(184, 57, 123);
/* oklch */ color: oklch(54.9% 0.174 352.4);
Tailwind
colors: {
  custom: {
    50: '#d279a1',
    500: '#b8397b',
    950: '#000000',
  },
}
SCSS
$custom: #b8397b;
$custom-light: #d279a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397b",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 328.819,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.17435,
    "h": 352.4
  },
  "luminance": 0.14547
}

Semantic roles & 50–950 ramp

primary
#B8397B
secondary
#86C7A5
accent
#DC914C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #B8397B

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

Preview Lab → · Contrast checker → · Palette generator →

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