#B5334D#B5334D

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

Color values

HEX#B5334D
RGBrgb(181, 51, 77)
HSLhsl(348, 56%, 45%)
HSVhsv(348, 72%, 71%)
CMYKcmyk(0%, 71.8%, 57.5%, 29%)
CIE-LABlab(42.35, 53.51, 15.67)
CIE-LCHlch(42.35, 55.76, 16.32°)
OKLaboklab(52.4% 0.1612 0.039)
OKLCHoklch(52.4% 0.166 13.6)
XYZxyz(21.5815, 12.7303, 8.3405)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5334D #33B59B
analogous
#B5338E #B5334D #B55A33
triadic
#B5334D #4DB533 #334DB5
tetradic
#B5334D #8EB533 #33B59B #5A33B5
square
#B5334D #8EB533 #33B59B #5A33B5
split-complementary
#B5334D #33B55A #338EB5
monochromatic
#561824 #852639 #B5334D #CF566E #DD8697

Accessibility & contrast

On white

5.92
#B5334D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B5334D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5334D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5334D#FFFFFF#000000##FFFFFF
##B5334D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55534D
Deuteranopia (green-blind)
#766E4A
Tritanopia (blue-blind)
#C6113E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b5334d;
/* rgb */ color: rgb(181, 51, 77);
/* oklch */ color: oklch(52.4% 0.166 13.6);
Tailwind
colors: {
  custom: {
    50: '#d2747e',
    500: '#b5334d',
    950: '#000000',
  },
}
SCSS
$custom: #b5334d;
$custom-light: #d2747e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5334d",
  "rgb": {
    "r": 181,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 348,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.16584,
    "h": 13.6
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#B5334D
secondary
#7DC6B8
accent
#DFC148
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #B5334D

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

Preview Lab → · Contrast checker → · Palette generator →

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