#B4336A#B4336A

#B4336A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.0% C 0.171 H 358.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B4336A
RGBrgb(180, 51, 106)
HSLhsl(334, 56%, 45%)
HSVhsv(334, 72%, 71%)
CMYKcmyk(0%, 71.7%, 41.1%, 29.4%)
CIE-LABlab(42.94, 55.77, -1.62)
CIE-LCHlch(42.94, 55.80, 358.34°)
OKLaboklab(53.05% 0.1711 -0.0036)
OKLCHoklch(53.05% 0.171 358.8)
XYZxyz(22.6093, 13.1144, 14.9736)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4336A #33B47D
analogous
#B433AA #B4336A #B43D33
triadic
#B4336A #6AB433 #336AB4
tetradic
#B4336A #AAB433 #33B47D #3D33B4
square
#B4336A #AAB433 #33B47D #3D33B4
split-complementary
#B4336A #33B43D #33AAB4
monochromatic
#551832 #84254E #B4336A #CF5589 #DC85AA

Accessibility & contrast

On white

5.80
#B4336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B4336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4336A
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4336A#FFFFFF#000000##FFFFFF
##B4336A1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C3224A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4336a;
/* rgb */ color: rgb(180, 51, 106);
/* oklch */ color: oklch(53.0% 0.171 358.8);
Tailwind
colors: {
  custom: {
    50: '#cf7594',
    500: '#b4336a',
    950: '#000000',
  },
}
SCSS
$custom: #b4336a;
$custom-light: #cf7594;
$custom-dark: #000000;
JSON
{
  "hex": "#b4336a",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 334.419,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.17109,
    "h": 358.8
  },
  "luminance": 0.13112
}

Semantic roles & 50–950 ramp

primary
#B4336A
secondary
#7DC6A7
accent
#DF9F49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4336A

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

Preview Lab → · Contrast checker → · Palette generator →

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