#B8397F#B8397F

#B8397F is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.176 H 350.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B8397F
RGBrgb(184, 57, 127)
HSLhsl(327, 53%, 47%)
HSVhsv(327, 69%, 72%)
CMYKcmyk(0%, 69%, 31%, 27.8%)
CIE-LABlab(45.15, 57.03, -11.18)
CIE-LCHlch(45.15, 58.12, 348.91°)
OKLaboklab(55.04% 0.1739 -0.0291)
OKLCHoklch(55.04% 0.176 350.5)
XYZxyz(25.0623, 14.6517, 21.5828)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397F #39B872
analogous
#B139B8 #B8397F #B83940
triadic
#B8397F #7FB839 #397FB8
tetradic
#B8397F #B8B139 #39B872 #3940B8
square
#B8397F #B8B139 #39B872 #3940B8
split-complementary
#B8397F #40B839 #39B8B1
monochromatic
#5B1C3E #892B5F #B8397F #CE609D #DC8FBA

Accessibility & contrast

On white

5.34
#B8397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B8397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8397F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8397F#FFFFFF#000000##FFFFFF
##B8397F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#70737C
Tritanopia (blue-blind)
#C53257
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8397f;
/* rgb */ color: rgb(184, 57, 127);
/* oklch */ color: oklch(55.0% 0.176 350.5);
Tailwind
colors: {
  custom: {
    50: '#d179a4',
    500: '#b8397f',
    950: '#000000',
  },
}
SCSS
$custom: #b8397f;
$custom-light: #d179a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397f",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 326.929,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55043,
    "c": 0.17633,
    "h": 350.5
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#B8397F
secondary
#86C7A3
accent
#DC8D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8397F

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

Preview Lab → · Contrast checker → · Palette generator →

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