#B4337F#B4337F

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

Color values

HEX#B4337F
RGBrgb(180, 51, 127)
HSLhsl(325, 56%, 45%)
HSVhsv(325, 72%, 71%)
CMYKcmyk(0%, 71.7%, 29.4%, 29.4%)
CIE-LABlab(43.66, 58.15, -13.50)
CIE-LCHlch(43.66, 59.70, 346.93°)
OKLaboklab(53.82% 0.1771 -0.0354)
OKLCHoklch(53.82% 0.181 348.7)
XYZxyz(23.8382, 13.6059, 21.4454)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337F #33B468
analogous
#A833B4 #B4337F #B4333F
triadic
#B4337F #7FB433 #337FB4
tetradic
#B4337F #B4A833 #33B468 #333FB4
square
#B4337F #B4A833 #33B468 #333FB4
split-complementary
#B4337F #3FB433 #33B4A8
monochromatic
#55183C #84255D #B4337F #CF559D #DC85B8

Accessibility & contrast

On white

5.64
#B4337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4337F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4337F#FFFFFF#000000##FFFFFF
##B4337F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4337f;
/* rgb */ color: rgb(180, 51, 127);
/* oklch */ color: oklch(53.8% 0.181 348.7);
Tailwind
colors: {
  custom: {
    50: '#cf76a4',
    500: '#b4337f',
    950: '#000000',
  },
}
SCSS
$custom: #b4337f;
$custom-light: #cf76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337f",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 324.651,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.18062,
    "h": 348.7
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#B4337F
secondary
#7DC69B
accent
#DF8649
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B4337F

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

Preview Lab → · Contrast checker → · Palette generator →

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