#B8337E#B8337E

#B8337E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.183 H 350.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B8337E
RGBrgb(184, 51, 126)
HSLhsl(326, 57%, 46%)
HSVhsv(326, 72%, 72%)
CMYKcmyk(0%, 72.3%, 31.5%, 27.8%)
CIE-LABlab(44.33, 59.11, -11.81)
CIE-LCHlch(44.33, 60.28, 348.70°)
OKLaboklab(54.43% 0.1805 -0.0307)
OKLCHoklch(54.43% 0.183 350.3)
XYZxyz(24.7182, 14.0672, 21.1481)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337E #33B86D
analogous
#AF33B8 #B8337E #B8333C
triadic
#B8337E #7EB833 #337EB8
tetradic
#B8337E #B8AF33 #33B86D #333CB8
square
#B8337E #B8AF33 #33B86D #333CB8
split-complementary
#B8337E #3CB833 #33B8AF
monochromatic
#58183C #88265D #B8337E #D1589C #DE88B8

Accessibility & contrast

On white

5.51
#B8337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B8337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8337E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8337E#FFFFFF#000000##FFFFFF
##B8337E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#C62B54
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8337e;
/* rgb */ color: rgb(184, 51, 126);
/* oklch */ color: oklch(54.4% 0.183 350.3);
Tailwind
colors: {
  custom: {
    50: '#d276a3',
    500: '#b8337e',
    950: '#000000',
  },
}
SCSS
$custom: #b8337e;
$custom-light: #d276a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337e",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 326.165,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54427,
    "c": 0.18313,
    "h": 350.3
  },
  "luminance": 0.14064
}

Semantic roles & 50–950 ramp

primary
#B8337E
secondary
#7FC89F
accent
#E08A48
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B8337E

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

Preview Lab → · Contrast checker → · Palette generator →

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