#B8337A#B8337A

#B8337A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.181 H 352.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B8337A
RGBrgb(184, 51, 122)
HSLhsl(328, 57%, 46%)
HSVhsv(328, 72%, 72%)
CMYKcmyk(0%, 72.3%, 33.7%, 27.8%)
CIE-LABlab(44.18, 58.64, -9.57)
CIE-LCHlch(44.18, 59.42, 350.73°)
OKLaboklab(54.27% 0.1795 -0.0247)
OKLCHoklch(54.27% 0.181 352.2)
XYZxyz(24.4653, 13.9660, 19.8159)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337A #33B871
analogous
#B333B8 #B8337A #B83337
triadic
#B8337A #7AB833 #337AB8
tetradic
#B8337A #B8B333 #33B871 #3337B8
square
#B8337A #B8B333 #33B871 #3337B8
split-complementary
#B8337A #37B833 #33B8B3
monochromatic
#58183A #88265A #B8337A #D15898 #DE88B6

Accessibility & contrast

On white

5.54
#B8337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B8337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8337A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8337A#FFFFFF#000000##FFFFFF
##B8337A1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597C
Deuteranopia (green-blind)
#6F7177
Tritanopia (blue-blind)
#C62952
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b8337a;
/* rgb */ color: rgb(184, 51, 122);
/* oklch */ color: oklch(54.3% 0.181 352.2);
Tailwind
colors: {
  custom: {
    50: '#d276a0',
    500: '#b8337a',
    950: '#000000',
  },
}
SCSS
$custom: #b8337a;
$custom-light: #d276a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337a",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 327.97,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.18116,
    "h": 352.2
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#B8337A
secondary
#7FC8A1
accent
#E08F48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B8337A

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

Preview Lab → · Contrast checker → · Palette generator →

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