#B8337B#B8337B

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

Color values

HEX#B8337B
RGBrgb(184, 51, 123)
HSLhsl(328, 57%, 46%)
HSVhsv(328, 72%, 72%)
CMYKcmyk(0%, 72.3%, 33.2%, 27.8%)
CIE-LABlab(44.22, 58.76, -10.13)
CIE-LCHlch(44.22, 59.63, 350.21°)
OKLaboklab(54.31% 0.1797 -0.0262)
OKLCHoklch(54.31% 0.182 351.7)
XYZxyz(24.5275, 13.9909, 20.1439)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337B #33B870
analogous
#B233B8 #B8337B #B83338
triadic
#B8337B #7BB833 #337BB8
tetradic
#B8337B #B8B233 #33B870 #3338B8
square
#B8337B #B8B233 #33B870 #3338B8
split-complementary
#B8337B #38B833 #33B8B2
monochromatic
#58183B #88265B #B8337B #D15899 #DE88B6

Accessibility & contrast

On white

5.53
#B8337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B8337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8337B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8337B#FFFFFF#000000##FFFFFF
##B8337B1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#6F7178
Tritanopia (blue-blind)
#C62952
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8337b;
/* rgb */ color: rgb(184, 51, 123);
/* oklch */ color: oklch(54.3% 0.182 351.7);
Tailwind
colors: {
  custom: {
    50: '#d276a1',
    500: '#b8337b',
    950: '#000000',
  },
}
SCSS
$custom: #b8337b;
$custom-light: #d276a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337b",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 327.519,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.18164,
    "h": 351.7
  },
  "luminance": 0.13988
}

Semantic roles & 50–950 ramp

primary
#B8337B
secondary
#7FC8A0
accent
#E08E48
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #B8337B

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

Preview Lab → · Contrast checker → · Palette generator →

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