#B4337D#B4337D

#B4337D is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.7% C 0.180 H 349.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B4337D
RGBrgb(180, 51, 125)
HSLhsl(326, 56%, 45%)
HSVhsv(326, 72%, 71%)
CMYKcmyk(0%, 71.7%, 30.6%, 29.4%)
CIE-LABlab(43.59, 57.91, -12.39)
CIE-LCHlch(43.59, 59.22, 347.93°)
OKLaboklab(53.74% 0.1766 -0.0324)
OKLCHoklch(53.74% 0.18 349.6)
XYZxyz(23.7091, 13.5543, 20.7657)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337D #33B46A
analogous
#AA33B4 #B4337D #B4333D
triadic
#B4337D #7DB433 #337DB4
tetradic
#B4337D #B4AA33 #33B46A #333DB4
square
#B4337D #B4AA33 #33B46A #333DB4
split-complementary
#B4337D #3DB433 #33B4AA
monochromatic
#55183B #84255C #B4337D #CF559B #DC85B7

Accessibility & contrast

On white

5.66
#B4337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#B4337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4337D
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4337D#FFFFFF#000000##FFFFFF
##B4337D1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587F
Deuteranopia (green-blind)
#6C6F7A
Tritanopia (blue-blind)
#C12C53
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4337d;
/* rgb */ color: rgb(180, 51, 125);
/* oklch */ color: oklch(53.7% 0.180 349.6);
Tailwind
colors: {
  custom: {
    50: '#cf76a2',
    500: '#b4337d',
    950: '#000000',
  },
}
SCSS
$custom: #b4337d;
$custom-light: #cf76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337d",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 325.581,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.17956,
    "h": 349.6
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#B4337D
secondary
#7DC69C
accent
#DF8949
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4337D

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

Preview Lab → · Contrast checker → · Palette generator →

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