#B5404F#B5404F

#B5404F is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.9% C 0.151 H 16.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B5404F
RGBrgb(181, 64, 79)
HSLhsl(352, 48%, 48%)
HSVhsv(352, 65%, 71%)
CMYKcmyk(0%, 64.6%, 56.4%, 29%)
CIE-LABlab(44.32, 48.41, 17.08)
CIE-LCHlch(44.32, 51.34, 19.44°)
OKLaboklab(53.88% 0.1453 0.0424)
OKLCHoklch(53.88% 0.151 16.3)
XYZxyz(22.3027, 14.0580, 8.9346)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5404F #40B5A6
analogous
#B54089 #B5404F #B56C40
triadic
#B5404F #4FB540 #404FB5
tetradic
#B5404F #89B540 #40B5A6 #6C40B5
square
#B5404F #89B540 #40B5A6 #6C40B5
split-complementary
#B5404F #40B56C #4089B5
monochromatic
#5B2028 #88303B #B5404F #CA6875 #DA969E

Accessibility & contrast

On white

5.51
#B5404F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B5404F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5404F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5404F#FFFFFF#000000##FFFFFF
##B5404F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594F
Deuteranopia (green-blind)
#7A724C
Tritanopia (blue-blind)
#C62A46
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b5404f;
/* rgb */ color: rgb(181, 64, 79);
/* oklch */ color: oklch(53.9% 0.151 16.3);
Tailwind
colors: {
  custom: {
    50: '#d17b80',
    500: '#b5404f',
    950: '#000000',
  },
}
SCSS
$custom: #b5404f;
$custom-light: #d17b80;
$custom-dark: #000000;
JSON
{
  "hex": "#b5404f",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 352.308,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53878,
    "c": 0.15131,
    "h": 16.3
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#B5404F
secondary
#8BC5BE
accent
#D7C650
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C

Preview Lab

Preview with #B5404F

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

Preview Lab → · Contrast checker → · Palette generator →

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