#B04540#B04540

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

Color values

HEX#B04540
RGBrgb(176, 69, 64)
HSLhsl(3, 47%, 47%)
HSVhsv(3, 64%, 69%)
CMYKcmyk(0%, 60.8%, 63.6%, 31%)
CIE-LABlab(44.03, 43.33, 25.65)
CIE-LCHlch(44.03, 50.35, 30.63°)
OKLaboklab(53.41% 0.1272 0.0611)
OKLCHoklch(53.41% 0.141 25.7)
XYZxyz(20.9600, 13.8593, 6.4209)
Luminance0.1386 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04540 #40ABB0
analogous
#B04073 #B04540 #B07D40
triadic
#B04540 #40B045 #4540B0
tetradic
#B04540 #73B040 #40ABB0 #7D40B0
square
#B04540 #73B040 #40ABB0 #7D40B0
split-complementary
#B04540 #40B07D #4073B0
monochromatic
#56221F #833330 #B04540 #C76A66 #D89693

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B04540#FFFFFF#000000##FFFFFF
##B045401.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)
#615A3F
Deuteranopia (green-blind)
#7B713D
Tritanopia (blue-blind)
#C12F45
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b04540;
/* rgb */ color: rgb(176, 69, 64);
/* oklch */ color: oklch(53.4% 0.141 25.7);
Tailwind
colors: {
  custom: {
    50: '#ce7d75',
    500: '#b04540',
    950: '#000000',
  },
}
SCSS
$custom: #b04540;
$custom-light: #ce7d75;
$custom-dark: #000000;
JSON
{
  "hex": "#b04540",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 64
  },
  "hsl": {
    "h": 2.679,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53411,
    "c": 0.14109,
    "h": 25.7
  },
  "luminance": 0.13857
}

Semantic roles & 50–950 ramp

primary
#B04540
secondary
#89C0C3
accent
#D0D651
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B04540

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

Preview Lab → · Contrast checker → · Palette generator →

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