#B04A42#B04A42

#B04A42 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.1% C 0.135 H 27.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B04A42
RGBrgb(176, 74, 66)
HSLhsl(4, 45%, 47%)
HSVhsv(4, 63%, 69%)
CMYKcmyk(0%, 58%, 62.5%, 31%)
CIE-LABlab(44.97, 41.06, 25.65)
CIE-LCHlch(44.97, 48.42, 31.99°)
OKLaboklab(54.13% 0.1204 0.0613)
OKLCHoklch(54.13% 0.135 27)
XYZxyz(21.3386, 14.5237, 6.8329)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04A42 #42A8B0
analogous
#B04271 #B04A42 #B08142
triadic
#B04A42 #42B04A #4A42B0
tetradic
#B04A42 #71B042 #42A8B0 #8142B0
square
#B04A42 #71B042 #42A8B0 #8142B0
split-complementary
#B04A42 #42B081 #4271B0
monochromatic
#572521 #833731 #B04A42 #C76F69 #D79A95

Accessibility & contrast

On white

5.38
#B04A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B04A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04A42
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04A42#FFFFFF#000000##FFFFFF
##B04A421.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D41
Deuteranopia (green-blind)
#7D7340
Tritanopia (blue-blind)
#C03749
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b04a42;
/* rgb */ color: rgb(176, 74, 66);
/* oklch */ color: oklch(54.1% 0.135 27.0);
Tailwind
colors: {
  custom: {
    50: '#cd8076',
    500: '#b04a42',
    950: '#000000',
  },
}
SCSS
$custom: #b04a42;
$custom-light: #cd8076;
$custom-dark: #000000;
JSON
{
  "hex": "#b04a42",
  "rgb": {
    "r": 176,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 4.364,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54134,
    "c": 0.13515,
    "h": 27
  },
  "luminance": 0.14521
}

Semantic roles & 50–950 ramp

primary
#B04A42
secondary
#8BBFC3
accent
#CCD553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #B04A42

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

Preview Lab → · Contrast checker → · Palette generator →

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