#B4336D#B4336D

#B4336D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.172 H 357.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#B4336D
RGBrgb(180, 51, 109)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 71%)
CMYKcmyk(0%, 71.7%, 39.4%, 29.4%)
CIE-LABlab(43.03, 56.09, -3.34)
CIE-LCHlch(43.03, 56.19, 356.59°)
OKLaboklab(53.15% 0.172 -0.0081)
OKLCHoklch(53.15% 0.172 357.3)
XYZxyz(22.7681, 13.1779, 15.8096)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4336D #33B47A
analogous
#B433AD #B4336D #B43933
triadic
#B4336D #6DB433 #336DB4
tetradic
#B4336D #ADB433 #33B47A #3933B4
square
#B4336D #ADB433 #33B47A #3933B4
split-complementary
#B4336D #33B439 #33ADB4
monochromatic
#551833 #842550 #B4336D #CF558C #DC85AC

Accessibility & contrast

On white

5.78
#B4336D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4336D
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4336D#FFFFFF#000000##FFFFFF
##B4336D1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C566F
Deuteranopia (green-blind)
#706E6A
Tritanopia (blue-blind)
#C3244C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4336d;
/* rgb */ color: rgb(180, 51, 109);
/* oklch */ color: oklch(53.1% 0.172 357.3);
Tailwind
colors: {
  custom: {
    50: '#cf7596',
    500: '#b4336d',
    950: '#000000',
  },
}
SCSS
$custom: #b4336d;
$custom-light: #cf7596;
$custom-dark: #000000;
JSON
{
  "hex": "#b4336d",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 333.023,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.17221,
    "h": 357.3
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#B4336D
secondary
#7DC6A5
accent
#DF9B49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4336D

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

Preview Lab → · Contrast checker → · Palette generator →

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