#B8404C#B8404C

#B8404C is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.155 H 18.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B8404C
RGBrgb(184, 64, 76)
HSLhsl(354, 48%, 49%)
HSVhsv(354, 65%, 72%)
CMYKcmyk(0%, 65.2%, 58.7%, 27.8%)
CIE-LABlab(44.78, 49.19, 19.63)
CIE-LCHlch(44.78, 52.96, 21.75°)
OKLaboklab(54.3% 0.1469 0.0481)
OKLCHoklch(54.3% 0.155 18.1)
XYZxyz(22.9072, 14.3820, 8.4058)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8404C #40B8AC
analogous
#B84088 #B8404C #B87040
triadic
#B8404C #4CB840 #404CB8
tetradic
#B8404C #88B840 #40B8AC #7040B8
square
#B8404C #88B840 #40B8AC #7040B8
split-complementary
#B8404C #40B870 #4088B8
monochromatic
#5D2026 #8B3039 #B8404C #CB6A74 #DB979E

Accessibility & contrast

On white

5.42
#B8404C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B8404C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8404C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8404C#FFFFFF#000000##FFFFFF
##B8404C1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5A4C
Deuteranopia (green-blind)
#7D7349
Tritanopia (blue-blind)
#C92845
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b8404c;
/* rgb */ color: rgb(184, 64, 76);
/* oklch */ color: oklch(54.3% 0.155 18.1);
Tailwind
colors: {
  custom: {
    50: '#d37b7d',
    500: '#b8404c',
    950: '#000000',
  },
}
SCSS
$custom: #b8404c;
$custom-light: #d37b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8404c",
  "rgb": {
    "r": 184,
    "g": 64,
    "b": 76
  },
  "hsl": {
    "h": 354,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54301,
    "c": 0.1546,
    "h": 18.1
  },
  "luminance": 0.14379
}

Semantic roles & 50–950 ramp

primary
#B8404C
secondary
#8DC7C1
accent
#D8CA50
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B

Preview Lab

Preview with #B8404C

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

Preview Lab → · Contrast checker → · Palette generator →

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