#B8337D#B8337D

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

Color values

HEX#B8337D
RGBrgb(184, 51, 125)
HSLhsl(327, 57%, 46%)
HSVhsv(327, 72%, 72%)
CMYKcmyk(0%, 72.3%, 32.1%, 27.8%)
CIE-LABlab(44.29, 58.99, -11.25)
CIE-LCHlch(44.29, 60.06, 349.20°)
OKLaboklab(54.39% 0.1803 -0.0292)
OKLCHoklch(54.39% 0.183 350.8)
XYZxyz(24.6540, 14.0415, 20.8100)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8337D #33B86E
analogous
#B033B8 #B8337D #B8333A
triadic
#B8337D #7DB833 #337DB8
tetradic
#B8337D #B8B033 #33B86E #333AB8
square
#B8337D #B8B033 #33B86E #333AB8
split-complementary
#B8337D #3AB833 #33B8B0
monochromatic
#58183C #88265C #B8337D #D1589B #DE88B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8337D#FFFFFF#000000##FFFFFF
##B8337D1.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)
#495A7F
Deuteranopia (green-blind)
#6F717A
Tritanopia (blue-blind)
#C62A53
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b8337d;
/* rgb */ color: rgb(184, 51, 125);
/* oklch */ color: oklch(54.4% 0.183 350.8);
Tailwind
colors: {
  custom: {
    50: '#d276a2',
    500: '#b8337d',
    950: '#000000',
  },
}
SCSS
$custom: #b8337d;
$custom-light: #d276a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b8337d",
  "rgb": {
    "r": 184,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 326.617,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.18262,
    "h": 350.8
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8337D

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

Preview Lab → · Contrast checker → · Palette generator →

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