#B8397C#B8397C

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

Color values

HEX#B8397C
RGBrgb(184, 57, 124)
HSLhsl(328, 53%, 47%)
HSVhsv(328, 69%, 72%)
CMYKcmyk(0%, 69%, 32.6%, 27.8%)
CIE-LABlab(45.05, 56.67, -9.50)
CIE-LCHlch(45.05, 57.46, 350.48°)
OKLaboklab(54.93% 0.1731 -0.0245)
OKLCHoklch(54.93% 0.175 351.9)
XYZxyz(24.8697, 14.5746, 20.5684)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8397C #39B875
analogous
#B439B8 #B8397C #B8393D
triadic
#B8397C #7CB839 #397CB8
tetradic
#B8397C #B8B439 #39B875 #393DB8
square
#B8397C #B8B439 #39B875 #393DB8
split-complementary
#B8397C #3DB839 #39B8B4
monochromatic
#5B1C3D #892B5D #B8397C #CE609A #DC8FB8

Accessibility & contrast

On white

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

On black

3.91
#B8397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8397C#FFFFFF#000000##FFFFFF
##B8397C1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#C63155
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b8397c;
/* rgb */ color: rgb(184, 57, 124);
/* oklch */ color: oklch(54.9% 0.175 351.9);
Tailwind
colors: {
  custom: {
    50: '#d279a1',
    500: '#b8397c',
    950: '#000000',
  },
}
SCSS
$custom: #b8397c;
$custom-light: #d279a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8397c",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 328.346,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54929,
    "c": 0.17483,
    "h": 351.9
  },
  "luminance": 0.14572
}

Semantic roles & 50–950 ramp

primary
#B8397C
secondary
#86C7A5
accent
#DC904C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #B8397C

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

Preview Lab → · Contrast checker → · Palette generator →

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