#B8396D#B8396D

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

Color values

HEX#B8396D
RGBrgb(184, 57, 109)
HSLhsl(335, 53%, 47%)
HSVhsv(335, 69%, 72%)
CMYKcmyk(0%, 69%, 40.8%, 27.8%)
CIE-LABlab(44.55, 55.00, -1.02)
CIE-LCHlch(44.55, 55.01, 358.93°)
OKLaboklab(54.4% 0.1685 -0.002)
OKLCHoklch(54.4% 0.168 359.3)
XYZxyz(23.9923, 14.2236, 15.9470)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8396D #39B884
analogous
#B839AD #B8396D #B84539
triadic
#B8396D #6DB839 #396DB8
tetradic
#B8396D #ADB839 #39B884 #4539B8
square
#B8396D #ADB839 #39B884 #4539B8
split-complementary
#B8396D #39B845 #39ADB8
monochromatic
#5B1C36 #892B51 #B8396D #CE608D #DC8FAF

Accessibility & contrast

On white

5.46
#B8396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8396D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8396D#FFFFFF#000000##FFFFFF
##B8396D1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6E
Deuteranopia (green-blind)
#75726A
Tritanopia (blue-blind)
#C72A4E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8396d;
/* rgb */ color: rgb(184, 57, 109);
/* oklch */ color: oklch(54.4% 0.168 359.3);
Tailwind
colors: {
  custom: {
    50: '#d27896',
    500: '#b8396d',
    950: '#000000',
  },
}
SCSS
$custom: #b8396d;
$custom-light: #d27896;
$custom-dark: #000000;
JSON
{
  "hex": "#b8396d",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 335.433,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54403,
    "c": 0.16849,
    "h": 359.3
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#B8396D
secondary
#86C7AC
accent
#DCA14C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #B8396D

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

Preview Lab → · Contrast checker → · Palette generator →

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