#B5404C#B5404C

#B5404C is a mid, vivid red. Relative luminance 0.140; OKLCH L 53.8% C 0.151 H 17.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B5404C
RGBrgb(181, 64, 76)
HSLhsl(354, 48%, 48%)
HSVhsv(354, 65%, 71%)
CMYKcmyk(0%, 64.6%, 58%, 29%)
CIE-LABlab(44.25, 48.18, 18.84)
CIE-LCHlch(44.25, 51.74, 21.36°)
OKLaboklab(53.81% 0.1441 0.0464)
OKLCHoklch(53.81% 0.151 17.8)
XYZxyz(22.1960, 14.0153, 8.3725)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5404C #40B5A9
analogous
#B54086 #B5404C #B56E40
triadic
#B5404C #4CB540 #404CB5
tetradic
#B5404C #86B540 #40B5A9 #6E40B5
square
#B5404C #86B540 #40B5A9 #6E40B5
split-complementary
#B5404C #40B56E #4086B5
monochromatic
#5B2026 #883039 #B5404C #CA6872 #DA969D

Accessibility & contrast

On white

5.52
#B5404C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B5404C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5404C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5404C#FFFFFF#000000##FFFFFF
##B5404C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594C
Deuteranopia (green-blind)
#7B7249
Tritanopia (blue-blind)
#C62945
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5404c;
/* rgb */ color: rgb(181, 64, 76);
/* oklch */ color: oklch(53.8% 0.151 17.8);
Tailwind
colors: {
  custom: {
    50: '#d17b7d',
    500: '#b5404c',
    950: '#000000',
  },
}
SCSS
$custom: #b5404c;
$custom-light: #d17b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b5404c",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 353.846,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53813,
    "c": 0.15133,
    "h": 17.8
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#B5404C
secondary
#8BC5BF
accent
#D7CA50
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #B5404C

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

Preview Lab → · Contrast checker → · Palette generator →

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