#B4337C#B4337C

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

Color values

HEX#B4337C
RGBrgb(180, 51, 124)
HSLhsl(326, 56%, 45%)
HSVhsv(326, 72%, 71%)
CMYKcmyk(0%, 71.7%, 31.1%, 29.4%)
CIE-LABlab(43.55, 57.79, -11.83)
CIE-LCHlch(43.55, 58.98, 348.43°)
OKLaboklab(53.7% 0.1764 -0.0308)
OKLCHoklch(53.7% 0.179 350.1)
XYZxyz(23.6455, 13.5289, 20.4310)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337C #33B46B
analogous
#AC33B4 #B4337C #B4333B
triadic
#B4337C #7CB433 #337CB4
tetradic
#B4337C #B4AC33 #33B46B #333BB4
square
#B4337C #B4AC33 #33B46B #333BB4
split-complementary
#B4337C #3BB433 #33B4AC
monochromatic
#55183A #84255B #B4337C #CF559A #DC85B6

Accessibility & contrast

On white

5.67
#B4337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4337C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4337C#FFFFFF#000000##FFFFFF
##B4337C1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4337c;
/* rgb */ color: rgb(180, 51, 124);
/* oklch */ color: oklch(53.7% 0.179 350.1);
Tailwind
colors: {
  custom: {
    50: '#cf76a2',
    500: '#b4337c',
    950: '#000000',
  },
}
SCSS
$custom: #b4337c;
$custom-light: #cf76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337c",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 326.047,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.537,
    "c": 0.17904,
    "h": 350.1
  },
  "luminance": 0.13526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4337C

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

Preview Lab → · Contrast checker → · Palette generator →

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