#B4335E#B4335E

#B4335E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.167 H 4.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B4335E
RGBrgb(180, 51, 94)
HSLhsl(340, 56%, 45%)
HSVhsv(340, 72%, 71%)
CMYKcmyk(0%, 71.7%, 47.8%, 29.4%)
CIE-LABlab(42.58, 54.61, 5.35)
CIE-LCHlch(42.58, 54.87, 5.59°)
OKLaboklab(52.68% 0.1669 0.0142)
OKLCHoklch(52.68% 0.167 4.9)
XYZxyz(22.0284, 12.8820, 11.9140)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4335E #33B489
analogous
#B4339E #B4335E #B44833
triadic
#B4335E #5EB433 #335EB4
tetradic
#B4335E #9EB433 #33B489 #4833B4
square
#B4335E #9EB433 #33B489 #4833B4
split-complementary
#B4335E #33B448 #339EB4
monochromatic
#55182C #842545 #B4335E #CF557E #DC85A2

Accessibility & contrast

On white

5.87
#B4335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#B4335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4335E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4335E#FFFFFF#000000##FFFFFF
##B4335E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51545F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#C41C45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4335e;
/* rgb */ color: rgb(180, 51, 94);
/* oklch */ color: oklch(52.7% 0.167 4.9);
Tailwind
colors: {
  custom: {
    50: '#d0758b',
    500: '#b4335e',
    950: '#000000',
  },
}
SCSS
$custom: #b4335e;
$custom-light: #d0758b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4335e",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 340,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.16747,
    "h": 4.9
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#B4335E
secondary
#7DC6AE
accent
#DFAD49
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4335E

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

Preview Lab → · Contrast checker → · Palette generator →

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