#B8396C#B8396C

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

Color values

HEX#B8396C
RGBrgb(184, 57, 108)
HSLhsl(336, 53%, 47%)
HSVhsv(336, 69%, 72%)
CMYKcmyk(0%, 69%, 41.3%, 27.8%)
CIE-LABlab(44.52, 54.89, -0.45)
CIE-LCHlch(44.52, 54.89, 359.53°)
OKLaboklab(54.37% 0.1681 -0.0005)
OKLCHoklch(54.37% 0.168 359.8)
XYZxyz(23.9387, 14.2022, 15.6651)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8396C #39B885
analogous
#B839AB #B8396C #B84639
triadic
#B8396C #6CB839 #396CB8
tetradic
#B8396C #ABB839 #39B885 #4639B8
square
#B8396C #ABB839 #39B885 #4639B8
split-complementary
#B8396C #39B846 #39ABB8
monochromatic
#5B1C35 #892B51 #B8396C #CE608C #DC8FAE

Accessibility & contrast

On white

5.47
#B8396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8396C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8396C#FFFFFF#000000##FFFFFF
##B8396C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6D
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#C7294E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8396c;
/* rgb */ color: rgb(184, 57, 108);
/* oklch */ color: oklch(54.4% 0.168 359.8);
Tailwind
colors: {
  custom: {
    50: '#d27896',
    500: '#b8396c',
    950: '#000000',
  },
}
SCSS
$custom: #b8396c;
$custom-light: #d27896;
$custom-dark: #000000;
JSON
{
  "hex": "#b8396c",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 335.906,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.16814,
    "h": 359.8
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8396C

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

Preview Lab → · Contrast checker → · Palette generator →

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