#B8397D#B8397D

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

Color values

HEX#B8397D
RGBrgb(184, 57, 125)
HSLhsl(328, 53%, 47%)
HSVhsv(328, 69%, 72%)
CMYKcmyk(0%, 69%, 32.1%, 27.8%)
CIE-LABlab(45.08, 56.79, -10.06)
CIE-LCHlch(45.08, 57.68, 349.95°)
OKLaboklab(54.97% 0.1734 -0.026)
OKLCHoklch(54.97% 0.175 351.5)
XYZxyz(24.9333, 14.6001, 20.9031)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397D #39B874
analogous
#B439B8 #B8397D #B8393E
triadic
#B8397D #7DB839 #397DB8
tetradic
#B8397D #B8B439 #39B874 #393EB8
square
#B8397D #B8B439 #39B874 #393EB8
split-complementary
#B8397D #3EB839 #39B8B4
monochromatic
#5B1C3E #892B5D #B8397D #CE609B #DC8FB8

Accessibility & contrast

On white

5.36
#B8397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8397D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8397D#FFFFFF#000000##FFFFFF
##B8397D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#71737A
Tritanopia (blue-blind)
#C63156
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8397d;
/* rgb */ color: rgb(184, 57, 125);
/* oklch */ color: oklch(55.0% 0.175 351.5);
Tailwind
colors: {
  custom: {
    50: '#d179a2',
    500: '#b8397d',
    950: '#000000',
  },
}
SCSS
$custom: #b8397d;
$custom-light: #d179a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397d",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 327.874,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54967,
    "c": 0.17532,
    "h": 351.5
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8397D

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

Preview Lab → · Contrast checker → · Palette generator →

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