#B8337F#B8337F

#B8337F is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.184 H 349.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B8337F
RGBrgb(184, 51, 127)
HSLhsl(326, 57%, 46%)
HSVhsv(326, 72%, 72%)
CMYKcmyk(0%, 72.3%, 31%, 27.8%)
CIE-LABlab(44.37, 59.23, -12.37)
CIE-LCHlch(44.37, 60.51, 348.21°)
OKLaboklab(54.47% 0.1808 -0.0323)
OKLCHoklch(54.47% 0.184 349.9)
XYZxyz(24.7831, 14.0931, 21.4897)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337F #33B86C
analogous
#AE33B8 #B8337F #B8333C
triadic
#B8337F #7FB833 #337FB8
tetradic
#B8337F #B8AE33 #33B86C #333CB8
square
#B8337F #B8AE33 #33B86C #333CB8
split-complementary
#B8337F #3CB833 #33B8AE
monochromatic
#58183D #88265E #B8337F #D1589D #DE88B9

Accessibility & contrast

On white

5.50
#B8337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B8337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8337F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8337F#FFFFFF#000000##FFFFFF
##B8337F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A81
Deuteranopia (green-blind)
#6E717C
Tritanopia (blue-blind)
#C52B54
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8337f;
/* rgb */ color: rgb(184, 51, 127);
/* oklch */ color: oklch(54.5% 0.184 349.9);
Tailwind
colors: {
  custom: {
    50: '#d276a4',
    500: '#b8337f',
    950: '#000000',
  },
}
SCSS
$custom: #b8337f;
$custom-light: #d276a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337f",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 325.714,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54466,
    "c": 0.18365,
    "h": 349.9
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#B8337F
secondary
#7FC89E
accent
#E08948
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B8337F

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

Preview Lab → · Contrast checker → · Palette generator →

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