#B4337A#B4337A

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

Color values

HEX#B4337A
RGBrgb(180, 51, 122)
HSLhsl(327, 56%, 45%)
HSVhsv(327, 72%, 71%)
CMYKcmyk(0%, 71.7%, 32.2%, 29.4%)
CIE-LABlab(43.48, 57.55, -10.71)
CIE-LCHlch(43.48, 58.54, 349.46°)
OKLaboklab(53.62% 0.1758 -0.0278)
OKLCHoklch(53.62% 0.178 351)
XYZxyz(23.5203, 13.4788, 19.7716)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4337A #33B46D
analogous
#AD33B4 #B4337A #B43339
triadic
#B4337A #7AB433 #337AB4
tetradic
#B4337A #B4AD33 #33B46D #3339B4
square
#B4337A #B4AD33 #33B46D #3339B4
split-complementary
#B4337A #39B433 #33B4AD
monochromatic
#551839 #84255A #B4337A #CF5598 #DC85B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4337A#FFFFFF#000000##FFFFFF
##B4337A1.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)
#48587C
Deuteranopia (green-blind)
#6D6F77
Tritanopia (blue-blind)
#C12B52
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #b4337a;
/* rgb */ color: rgb(180, 51, 122);
/* oklch */ color: oklch(53.6% 0.178 351.0);
Tailwind
colors: {
  custom: {
    50: '#cf75a0',
    500: '#b4337a',
    950: '#000000',
  },
}
SCSS
$custom: #b4337a;
$custom-light: #cf75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b4337a",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 326.977,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53622,
    "c": 0.17802,
    "h": 351
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#B4337A
secondary
#7DC69E
accent
#DF8C49
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B4337A

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

Preview Lab → · Contrast checker → · Palette generator →

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