#B04838#B04838

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

Color values

HEX#B04838
RGBrgb(176, 72, 56)
HSLhsl(8, 52%, 45%)
HSVhsv(8, 68%, 69%)
CMYKcmyk(0%, 59.1%, 68.2%, 31%)
CIE-LABlab(44.45, 41.40, 30.88)
CIE-LCHlch(44.45, 51.65, 36.72°)
OKLaboklab(53.69% 0.1196 0.0717)
OKLCHoklch(53.69% 0.139 30.9)
XYZxyz(20.9377, 14.1531, 5.3699)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04838 #38A0B0
analogous
#B03864 #B04838 #B08438
triadic
#B04838 #38B048 #4838B0
tetradic
#B04838 #64B038 #38A0B0 #8438B0
square
#B04838 #64B038 #38A0B0 #8438B0
split-complementary
#B04838 #38B084 #3864B0
monochromatic
#53221A #823529 #B04838 #CB695B #D99489

Accessibility & contrast

On white

5.48
#B04838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B04838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04838
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04838#FFFFFF#000000##FFFFFF
##B048381.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B36
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#C13245
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b04838;
/* rgb */ color: rgb(176, 72, 56);
/* oklch */ color: oklch(53.7% 0.139 30.9);
Tailwind
colors: {
  custom: {
    50: '#ce7f6f',
    500: '#b04838',
    950: '#000000',
  },
}
SCSS
$custom: #b04838;
$custom-light: #ce7f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b04838",
  "rgb": {
    "r": 176,
    "g": 72,
    "b": 56
  },
  "hsl": {
    "h": 8,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.13945,
    "h": 30.9
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#B04838
secondary
#80BBC4
accent
#C8DB4D
background
#FDF7F6
surface
#FBEEEC
border
#D4C9C7
text
#150A07
muted
#837C7A

Preview Lab

Preview with #B04838

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

Preview Lab → · Contrast checker → · Palette generator →

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