#B4337B#B4337B

#B4337B is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.7% C 0.179 H 350.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B4337B
RGBrgb(180, 51, 123)
HSLhsl(327, 56%, 45%)
HSVhsv(327, 72%, 71%)
CMYKcmyk(0%, 71.7%, 31.7%, 29.4%)
CIE-LABlab(43.51, 57.67, -11.27)
CIE-LCHlch(43.51, 58.76, 348.94°)
OKLaboklab(53.66% 0.1761 -0.0293)
OKLCHoklch(53.66% 0.179 350.5)
XYZxyz(23.5826, 13.5037, 20.0996)
Luminance0.1350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337B #33B46C
analogous
#AD33B4 #B4337B #B4333A
triadic
#B4337B #7BB433 #337BB4
tetradic
#B4337B #B4AD33 #33B46C #333AB4
square
#B4337B #B4AD33 #33B46C #333AB4
split-complementary
#B4337B #3AB433 #33B4AD
monochromatic
#55183A #84255A #B4337B #CF5599 #DC85B6

Accessibility & contrast

On white

5.68
#B4337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#B4337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4337B
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4337B#FFFFFF#000000##FFFFFF
##B4337B1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#C12B52
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4337b;
/* rgb */ color: rgb(180, 51, 123);
/* oklch */ color: oklch(53.7% 0.179 350.5);
Tailwind
colors: {
  custom: {
    50: '#cf76a1',
    500: '#b4337b',
    950: '#000000',
  },
}
SCSS
$custom: #b4337b;
$custom-light: #cf76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337b",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 326.512,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.17852,
    "h": 350.5
  },
  "luminance": 0.13501
}

Semantic roles & 50–950 ramp

primary
#B4337B
secondary
#7DC69D
accent
#DF8B49
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B4337B

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

Preview Lab → · Contrast checker → · Palette generator →

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