#B4336C#B4336C

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

Color values

HEX#B4336C
RGBrgb(180, 51, 108)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 71%)
CMYKcmyk(0%, 71.7%, 40%, 29.4%)
CIE-LABlab(43.00, 55.98, -2.77)
CIE-LCHlch(43.00, 56.05, 357.17°)
OKLaboklab(53.12% 0.1717 -0.0066)
OKLCHoklch(53.12% 0.172 357.8)
XYZxyz(22.7145, 13.1565, 15.5277)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4336C #33B47B
analogous
#B433AD #B4336C #B43A33
triadic
#B4336C #6CB433 #336CB4
tetradic
#B4336C #ADB433 #33B47B #3A33B4
square
#B4336C #ADB433 #33B47B #3A33B4
split-complementary
#B4336C #33B43A #33ADB4
monochromatic
#551833 #84254F #B4336C #CF558B #DC85AC

Accessibility & contrast

On white

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

On black

3.63
#B4336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B4336C#FFFFFF#000000##FFFFFF
##B4336C1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#706E69
Tritanopia (blue-blind)
#C3234B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b4336c;
/* rgb */ color: rgb(180, 51, 108);
/* oklch */ color: oklch(53.1% 0.172 357.8);
Tailwind
colors: {
  custom: {
    50: '#cf7596',
    500: '#b4336c',
    950: '#000000',
  },
}
SCSS
$custom: #b4336c;
$custom-light: #cf7596;
$custom-dark: #000000;
JSON
{
  "hex": "#b4336c",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 333.488,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.17183,
    "h": 357.8
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#B4336C
secondary
#7DC6A6
accent
#DF9D49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B4336C

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

Preview Lab → · Contrast checker → · Palette generator →

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