#B8396B#B8396B

#B8396B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.3% C 0.168 H 0.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B8396B
RGBrgb(184, 57, 107)
HSLhsl(336, 53%, 47%)
HSVhsv(336, 69%, 72%)
CMYKcmyk(0%, 69%, 41.8%, 27.8%)
CIE-LABlab(44.49, 54.79, 0.12)
CIE-LCHlch(44.49, 54.79, 0.13°)
OKLaboklab(54.34% 0.1678 0.001)
OKLCHoklch(54.34% 0.168 0.3)
XYZxyz(23.8858, 14.1811, 15.3865)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8396B #39B886
analogous
#B839AB #B8396B #B84739
triadic
#B8396B #6BB839 #396BB8
tetradic
#B8396B #ABB839 #39B886 #4739B8
square
#B8396B #ABB839 #39B886 #4739B8
split-complementary
#B8396B #39B847 #39ABB8
monochromatic
#5B1C35 #892B50 #B8396B #CE608B #DC8FAD

Accessibility & contrast

On white

5.48
#B8396B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B8396B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8396B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8396B#FFFFFF#000000##FFFFFF
##B8396B1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#757268
Tritanopia (blue-blind)
#C7294E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8396b;
/* rgb */ color: rgb(184, 57, 107);
/* oklch */ color: oklch(54.3% 0.168 0.3);
Tailwind
colors: {
  custom: {
    50: '#d27895',
    500: '#b8396b',
    950: '#000000',
  },
}
SCSS
$custom: #b8396b;
$custom-light: #d27895;
$custom-dark: #000000;
JSON
{
  "hex": "#b8396b",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 336.378,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.1678,
    "h": 0.3
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#B8396B
secondary
#86C7AD
accent
#DCA34C
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #B8396B

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

Preview Lab → · Contrast checker → · Palette generator →

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