#B8397E#B8397E

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

Color values

HEX#B8397E
RGBrgb(184, 57, 126)
HSLhsl(327, 53%, 47%)
HSVhsv(327, 69%, 72%)
CMYKcmyk(0%, 69%, 31.5%, 27.8%)
CIE-LABlab(45.12, 56.91, -10.62)
CIE-LCHlch(45.12, 57.89, 349.43°)
OKLaboklab(55.01% 0.1737 -0.0276)
OKLCHoklch(55.01% 0.176 351)
XYZxyz(24.9975, 14.6257, 21.2412)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397E #39B873
analogous
#B339B8 #B8397E #B8393E
triadic
#B8397E #7EB839 #397EB8
tetradic
#B8397E #B8B339 #39B873 #393EB8
square
#B8397E #B8B339 #39B873 #393EB8
split-complementary
#B8397E #3EB839 #39B8B3
monochromatic
#5B1C3E #892B5E #B8397E #CE609C #DC8FB9

Accessibility & contrast

On white

5.35
#B8397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B8397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8397E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8397E#FFFFFF#000000##FFFFFF
##B8397E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#71737B
Tritanopia (blue-blind)
#C53156
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8397e;
/* rgb */ color: rgb(184, 57, 126);
/* oklch */ color: oklch(55.0% 0.176 351.0);
Tailwind
colors: {
  custom: {
    50: '#d179a3',
    500: '#b8397e',
    950: '#000000',
  },
}
SCSS
$custom: #b8397e;
$custom-light: #d179a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397e",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 327.402,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55005,
    "c": 0.17582,
    "h": 351
  },
  "luminance": 0.14623
}

Semantic roles & 50–950 ramp

primary
#B8397E
secondary
#86C7A4
accent
#DC8E4C
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #B8397E

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

Preview Lab → · Contrast checker → · Palette generator →

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