#B04842#B04842

#B04842 is a mid, vivid red. Relative luminance 0.143; OKLCH L 53.9% C 0.137 H 26.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B04842
RGBrgb(176, 72, 66)
HSLhsl(3, 45%, 47%)
HSVhsv(3, 63%, 69%)
CMYKcmyk(0%, 59.1%, 62.5%, 31%)
CIE-LABlab(44.60, 42.03, 25.18)
CIE-LCHlch(44.60, 49.00, 30.93°)
OKLaboklab(53.85% 0.1235 0.0603)
OKLCHoklch(53.85% 0.137 26)
XYZxyz(21.2072, 14.2609, 6.7891)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04842 #42AAB0
analogous
#B04273 #B04842 #B07F42
triadic
#B04842 #42B048 #4842B0
tetradic
#B04842 #73B042 #42AAB0 #7F42B0
square
#B04842 #73B042 #42AAB0 #7F42B0
split-complementary
#B04842 #42B07F #4273B0
monochromatic
#572421 #833631 #B04842 #C76E69 #D79995

Accessibility & contrast

On white

5.45
#B04842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B04842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04842
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04842#FFFFFF#000000##FFFFFF
##B048421.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C41
Deuteranopia (green-blind)
#7C723F
Tritanopia (blue-blind)
#C13447
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04842;
/* rgb */ color: rgb(176, 72, 66);
/* oklch */ color: oklch(53.9% 0.137 26.0);
Tailwind
colors: {
  custom: {
    50: '#cd7f76',
    500: '#b04842',
    950: '#000000',
  },
}
SCSS
$custom: #b04842;
$custom-light: #cd7f76;
$custom-dark: #000000;
JSON
{
  "hex": "#b04842",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 3.273,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.13739,
    "h": 26
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#B04842
secondary
#8BC0C3
accent
#CED553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B04842

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

Preview Lab → · Contrast checker → · Palette generator →

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