#B54040#B54040

#B54040 is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.6% C 0.152 H 23.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B54040
RGBrgb(181, 64, 64)
HSLhsl(0, 48%, 48%)
HSVhsv(0, 65%, 71%)
CMYKcmyk(0%, 64.6%, 64.6%, 29%)
CIE-LABlab(44.04, 47.36, 25.84)
CIE-LCHlch(44.04, 53.95, 28.62°)
OKLaboklab(53.58% 0.1393 0.0614)
OKLCHoklch(53.58% 0.152 23.8)
XYZxyz(21.8170, 13.8637, 6.3766)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B54040 #40B5B5
analogous
#B5407A #B54040 #B57A40
triadic
#B54040 #40B540 #4040B5
tetradic
#B54040 #7AB540 #40B5B5 #7A40B5
square
#B54040 #7AB540 #40B5B5 #7A40B5
split-complementary
#B54040 #40B57A #407AB5
monochromatic
#5B2020 #883030 #B54040 #CA6868 #DA9696

Accessibility & contrast

On white

5.57
#B54040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#B54040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B54040
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B54040#FFFFFF#000000##FFFFFF
##B540401.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F583F
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#C62641
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b54040;
/* rgb */ color: rgb(181, 64, 64);
/* oklch */ color: oklch(53.6% 0.152 23.8);
Tailwind
colors: {
  custom: {
    50: '#d27b75',
    500: '#b54040',
    950: '#000000',
  },
}
SCSS
$custom: #b54040;
$custom-light: #d27b75;
$custom-dark: #000000;
JSON
{
  "hex": "#b54040",
  "rgb": {
    "r": 181,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.15221,
    "h": 23.8
  },
  "luminance": 0.13861
}

Semantic roles & 50–950 ramp

primary
#B54040
secondary
#8BC5C5
accent
#D7D750
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B54040

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

Preview Lab → · Contrast checker → · Palette generator →

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