#B4336F#B4336F

#B4336F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.173 H 356.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B4336F
RGBrgb(180, 51, 111)
HSLhsl(332, 56%, 45%)
HSVhsv(332, 72%, 71%)
CMYKcmyk(0%, 71.7%, 38.3%, 29.4%)
CIE-LABlab(43.09, 56.30, -4.49)
CIE-LCHlch(43.09, 56.48, 355.44°)
OKLaboklab(53.22% 0.1727 -0.0111)
OKLCHoklch(53.22% 0.173 356.3)
XYZxyz(22.8770, 13.2214, 16.3831)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4336F #33B478
analogous
#B433AF #B4336F #B43733
triadic
#B4336F #6FB433 #336FB4
tetradic
#B4336F #AFB433 #33B478 #3733B4
square
#B4336F #AFB433 #33B478 #3733B4
split-complementary
#B4336F #33B437 #33AFB4
monochromatic
#551834 #842552 #B4336F #CF558E #DC85AE

Accessibility & contrast

On white

5.76
#B4336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#B4336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4336F
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4336F#FFFFFF#000000##FFFFFF
##B4336F1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5671
Deuteranopia (green-blind)
#6F6F6C
Tritanopia (blue-blind)
#C2254D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4336f;
/* rgb */ color: rgb(180, 51, 111);
/* oklch */ color: oklch(53.2% 0.173 356.3);
Tailwind
colors: {
  custom: {
    50: '#cf7598',
    500: '#b4336f',
    950: '#000000',
  },
}
SCSS
$custom: #b4336f;
$custom-light: #cf7598;
$custom-dark: #000000;
JSON
{
  "hex": "#b4336f",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 332.093,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.17301,
    "h": 356.3
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#B4336F
secondary
#7DC6A4
accent
#DF9949
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4336F

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

Preview Lab → · Contrast checker → · Palette generator →

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