#B4335F#B4335F

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

Color values

HEX#B4335F
RGBrgb(180, 51, 95)
HSLhsl(340, 56%, 45%)
HSVhsv(340, 72%, 71%)
CMYKcmyk(0%, 71.7%, 47.2%, 29.4%)
CIE-LABlab(42.61, 54.70, 4.76)
CIE-LCHlch(42.61, 54.90, 4.98°)
OKLaboklab(52.7% 0.1672 0.0128)
OKLCHoklch(52.7% 0.168 4.4)
XYZxyz(22.0736, 12.9001, 12.1518)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4335F #33B488
analogous
#B4339F #B4335F #B44833
triadic
#B4335F #5FB433 #335FB4
tetradic
#B4335F #9FB433 #33B488 #4833B4
square
#B4335F #9FB433 #33B488 #4833B4
split-complementary
#B4335F #33B448 #339FB4
monochromatic
#55182D #842546 #B4335F #CF557F #DC85A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4335F#FFFFFF#000000##FFFFFF
##B4335F1.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)
#505460
Deuteranopia (green-blind)
#736E5C
Tritanopia (blue-blind)
#C41C45
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b4335f;
/* rgb */ color: rgb(180, 51, 95);
/* oklch */ color: oklch(52.7% 0.168 4.4);
Tailwind
colors: {
  custom: {
    50: '#d0758c',
    500: '#b4335f',
    950: '#000000',
  },
}
SCSS
$custom: #b4335f;
$custom-light: #d0758c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4335f",
  "rgb": {
    "r": 180,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 339.535,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.16771,
    "h": 4.4
  },
  "luminance": 0.12897
}

Semantic roles & 50–950 ramp

primary
#B4335F
secondary
#7DC6AD
accent
#DFAC49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B4335F

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

Preview Lab → · Contrast checker → · Palette generator →

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