#B8396E#B8396E

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

Color values

HEX#B8396E
RGBrgb(184, 57, 110)
HSLhsl(335, 53%, 47%)
HSVhsv(335, 69%, 72%)
CMYKcmyk(0%, 69%, 40.2%, 27.8%)
CIE-LABlab(44.58, 55.10, -1.59)
CIE-LCHlch(44.58, 55.12, 358.34°)
OKLaboklab(54.44% 0.1688 -0.0035)
OKLCHoklch(54.44% 0.169 358.8)
XYZxyz(24.0464, 14.2453, 16.2321)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8396E #39B883
analogous
#B839AD #B8396E #B84439
triadic
#B8396E #6EB839 #396EB8
tetradic
#B8396E #ADB839 #39B883 #4439B8
square
#B8396E #ADB839 #39B883 #4439B8
split-complementary
#B8396E #39B844 #39ADB8
monochromatic
#5B1C36 #892B52 #B8396E #CE608E #DC8FAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8396E#FFFFFF#000000##FFFFFF
##B8396E1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6F
Deuteranopia (green-blind)
#74726B
Tritanopia (blue-blind)
#C72A4F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8396e;
/* rgb */ color: rgb(184, 57, 110);
/* oklch */ color: oklch(54.4% 0.169 358.8);
Tailwind
colors: {
  custom: {
    50: '#d27897',
    500: '#b8396e',
    950: '#000000',
  },
}
SCSS
$custom: #b8396e;
$custom-light: #d27897;
$custom-dark: #000000;
JSON
{
  "hex": "#b8396e",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 334.961,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.16885,
    "h": 358.8
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8396E

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

Preview Lab → · Contrast checker → · Palette generator →

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