#B04040#B04040

#B04040 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.8% C 0.147 H 23.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B04040
RGBrgb(176, 64, 64)
HSLhsl(0, 47%, 47%)
HSVhsv(0, 64%, 69%)
CMYKcmyk(0%, 63.6%, 63.6%, 31%)
CIE-LABlab(43.17, 45.63, 24.56)
CIE-LCHlch(43.17, 51.82, 28.30°)
OKLaboklab(52.76% 0.1344 0.0587)
OKLCHoklch(52.76% 0.147 23.6)
XYZxyz(20.6653, 13.2699, 6.3226)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04040 #40B0B0
analogous
#B04078 #B04040 #B07840
triadic
#B04040 #40B040 #4040B0
tetradic
#B04040 #78B040 #40B0B0 #7840B0
square
#B04040 #78B040 #40B0B0 #7840B0
split-complementary
#B04040 #40B078 #4078B0
monochromatic
#561F1F #833030 #B04040 #C76666 #D89393

Accessibility & contrast

On white

5.75
#B04040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B04040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04040
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04040#FFFFFF#000000##FFFFFF
##B040401.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D573F
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#C12841
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b04040;
/* rgb */ color: rgb(176, 64, 64);
/* oklch */ color: oklch(52.8% 0.147 23.6);
Tailwind
colors: {
  custom: {
    50: '#ce7a75',
    500: '#b04040',
    950: '#000000',
  },
}
SCSS
$custom: #b04040;
$custom-light: #ce7a75;
$custom-dark: #000000;
JSON
{
  "hex": "#b04040",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.14665,
    "h": 23.6
  },
  "luminance": 0.13267
}

Semantic roles & 50–950 ramp

primary
#B04040
secondary
#89C3C3
accent
#D6D651
background
#FDF7F7
surface
#FBEEED
border
#D4C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B04040

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

Preview Lab → · Contrast checker → · Palette generator →

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