#B4337E#B4337E

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

Color values

HEX#B4337E
RGBrgb(180, 51, 126)
HSLhsl(325, 56%, 45%)
HSVhsv(325, 72%, 71%)
CMYKcmyk(0%, 71.7%, 30%, 29.4%)
CIE-LABlab(43.62, 58.03, -12.94)
CIE-LCHlch(43.62, 59.46, 347.43°)
OKLaboklab(53.78% 0.1769 -0.0339)
OKLCHoklch(53.78% 0.18 349.2)
XYZxyz(23.7733, 13.5800, 21.1039)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337E #33B469
analogous
#A933B4 #B4337E #B4333E
triadic
#B4337E #7EB433 #337EB4
tetradic
#B4337E #B4A933 #33B469 #333EB4
square
#B4337E #B4A933 #33B469 #333EB4
split-complementary
#B4337E #3EB433 #33B4A9
monochromatic
#55183B #84255D #B4337E #CF559C #DC85B8

Accessibility & contrast

On white

5.65
#B4337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#B4337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4337E
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4337E#FFFFFF#000000##FFFFFF
##B4337E1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465980
Deuteranopia (green-blind)
#6C6F7B
Tritanopia (blue-blind)
#C12D54
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4337e;
/* rgb */ color: rgb(180, 51, 126);
/* oklch */ color: oklch(53.8% 0.180 349.2);
Tailwind
colors: {
  custom: {
    50: '#cf76a3',
    500: '#b4337e',
    950: '#000000',
  },
}
SCSS
$custom: #b4337e;
$custom-light: #cf76a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337e",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 325.116,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.18009,
    "h": 349.2
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#B4337E
secondary
#7DC69B
accent
#DF8849
background
#FDF7FA
surface
#FAEEF3
border
#D3C9CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4337E

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

Preview Lab → · Contrast checker → · Palette generator →

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