#B8397A#B8397A

#B8397A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.174 H 352.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B8397A
RGBrgb(184, 57, 122)
HSLhsl(329, 53%, 47%)
HSVhsv(329, 69%, 72%)
CMYKcmyk(0%, 69%, 33.7%, 27.8%)
CIE-LABlab(44.98, 56.44, -8.39)
CIE-LCHlch(44.98, 57.06, 351.55°)
OKLaboklab(54.86% 0.1725 -0.0215)
OKLCHoklch(54.86% 0.174 352.9)
XYZxyz(24.7445, 14.5246, 19.9090)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397A #39B877
analogous
#B639B8 #B8397A #B8393B
triadic
#B8397A #7AB839 #397AB8
tetradic
#B8397A #B8B639 #39B877 #393BB8
square
#B8397A #B8B639 #39B877 #393BB8
split-complementary
#B8397A #3BB839 #39B8B6
monochromatic
#5B1C3C #892B5B #B8397A #CE6098 #DC8FB7

Accessibility & contrast

On white

5.38
#B8397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B8397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8397A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8397A#FFFFFF#000000##FFFFFF
##B8397A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#727377
Tritanopia (blue-blind)
#C63054
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8397a;
/* rgb */ color: rgb(184, 57, 122);
/* oklch */ color: oklch(54.9% 0.174 352.9);
Tailwind
colors: {
  custom: {
    50: '#d279a0',
    500: '#b8397a',
    950: '#000000',
  },
}
SCSS
$custom: #b8397a;
$custom-light: #d279a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397a",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 329.291,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.17387,
    "h": 352.9
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#B8397A
secondary
#86C7A6
accent
#DC924C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #B8397A

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

Preview Lab → · Contrast checker → · Palette generator →

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