#B4336E#B4336E

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

Color values

HEX#B4336E
RGBrgb(180, 51, 110)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 71%)
CMYKcmyk(0%, 71.7%, 38.9%, 29.4%)
CIE-LABlab(43.06, 56.19, -3.92)
CIE-LCHlch(43.06, 56.33, 356.01°)
OKLaboklab(53.18% 0.1723 -0.0096)
OKLCHoklch(53.18% 0.173 356.8)
XYZxyz(22.8222, 13.1995, 16.0948)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4336E #33B479
analogous
#B433AE #B4336E #B43833
triadic
#B4336E #6EB433 #336EB4
tetradic
#B4336E #AEB433 #33B479 #3833B4
square
#B4336E #AEB433 #33B479 #3833B4
split-complementary
#B4336E #33B438 #33AEB4
monochromatic
#551834 #842551 #B4336E #CF558D #DC85AD

Accessibility & contrast

On white

5.77
#B4336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B4336E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4336E#FFFFFF#000000##FFFFFF
##B4336E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4336e;
/* rgb */ color: rgb(180, 51, 110);
/* oklch */ color: oklch(53.2% 0.173 356.8);
Tailwind
colors: {
  custom: {
    50: '#cf7597',
    500: '#b4336e',
    950: '#000000',
  },
}
SCSS
$custom: #b4336e;
$custom-light: #cf7597;
$custom-dark: #000000;
JSON
{
  "hex": "#b4336e",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 332.558,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.17261,
    "h": 356.8
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4336E

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

Preview Lab → · Contrast checker → · Palette generator →

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