#B8396F#B8396F

#B8396F is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.169 H 358.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B8396F
RGBrgb(184, 57, 111)
HSLhsl(334, 53%, 47%)
HSVhsv(334, 69%, 72%)
CMYKcmyk(0%, 69%, 39.7%, 27.8%)
CIE-LABlab(44.61, 55.21, -2.17)
CIE-LCHlch(44.61, 55.25, 357.75°)
OKLaboklab(54.47% 0.1691 -0.005)
OKLCHoklch(54.47% 0.169 358.3)
XYZxyz(24.1011, 14.2672, 16.5205)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8396F #39B882
analogous
#B839AF #B8396F #B84239
triadic
#B8396F #6FB839 #396FB8
tetradic
#B8396F #AFB839 #39B882 #4239B8
square
#B8396F #AFB839 #39B882 #4239B8
split-complementary
#B8396F #39B842 #39AFB8
monochromatic
#5B1C37 #892B53 #B8396F #CE608F #DC8FB0

Accessibility & contrast

On white

5.45
#B8396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B8396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8396F
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8396F#FFFFFF#000000##FFFFFF
##B8396F1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A70
Deuteranopia (green-blind)
#74726C
Tritanopia (blue-blind)
#C72B4F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8396f;
/* rgb */ color: rgb(184, 57, 111);
/* oklch */ color: oklch(54.5% 0.169 358.3);
Tailwind
colors: {
  custom: {
    50: '#d27898',
    500: '#b8396f',
    950: '#000000',
  },
}
SCSS
$custom: #b8396f;
$custom-light: #d27898;
$custom-dark: #000000;
JSON
{
  "hex": "#b8396f",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 334.488,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.16921,
    "h": 358.3
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#B8396F
secondary
#86C7AB
accent
#DC9F4C
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #B8396F

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

Preview Lab → · Contrast checker → · Palette generator →

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