#B5334A#B5334A

#B5334A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.3% C 0.166 H 15.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B5334A
RGBrgb(181, 51, 74)
HSLhsl(349, 56%, 45%)
HSVhsv(349, 72%, 71%)
CMYKcmyk(0%, 71.8%, 59.1%, 29%)
CIE-LABlab(42.29, 53.29, 17.45)
CIE-LCHlch(42.29, 56.08, 18.13°)
OKLaboklab(52.34% 0.16 0.043)
OKLCHoklch(52.34% 0.166 15)
XYZxyz(21.4780, 12.6889, 7.7955)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334A #33B59E
analogous
#B5338B #B5334A #B55D33
triadic
#B5334A #4AB533 #334AB5
tetradic
#B5334A #8BB533 #33B59E #5D33B5
square
#B5334A #8BB533 #33B59E #5D33B5
split-complementary
#B5334A #33B55D #338BB5
monochromatic
#561823 #852636 #B5334A #CF566B #DD8695

Accessibility & contrast

On white

5.94
#B5334A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B5334A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5334A
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5334A#FFFFFF#000000##FFFFFF
##B5334A1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534A
Deuteranopia (green-blind)
#766E47
Tritanopia (blue-blind)
#C60F3C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5334a;
/* rgb */ color: rgb(181, 51, 74);
/* oklch */ color: oklch(52.3% 0.166 15.0);
Tailwind
colors: {
  custom: {
    50: '#d2747c',
    500: '#b5334a',
    950: '#000000',
  },
}
SCSS
$custom: #b5334a;
$custom-light: #d2747c;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334a",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 349.385,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.16569,
    "h": 15
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#B5334A
secondary
#7DC6B9
accent
#DFC548
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5334A

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

Preview Lab → · Contrast checker → · Palette generator →

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