#B04031#B04031

#B04031 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.149 H 30.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B04031
RGBrgb(176, 64, 49)
HSLhsl(7, 56%, 44%)
HSVhsv(7, 72%, 69%)
CMYKcmyk(0%, 63.6%, 72.2%, 31%)
CIE-LABlab(42.95, 44.77, 33.16)
CIE-LCHlch(42.95, 55.71, 36.53°)
OKLaboklab(52.52% 0.1287 0.0755)
OKLCHoklch(52.52% 0.149 30.4)
XYZxyz(20.2944, 13.1215, 4.3692)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04031 #31A1B0
analogous
#B03162 #B04031 #B08031
triadic
#B04031 #31B040 #4031B0
tetradic
#B04031 #62B031 #31A1B0 #8031B0
square
#B04031 #62B031 #31A1B0 #8031B0
split-complementary
#B04031 #31B080 #3162B0
monochromatic
#501D16 #802F24 #B04031 #CE5F50 #DC8B80

Accessibility & contrast

On white

5.80
#B04031 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B04031 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04031
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04031#FFFFFF#000000##FFFFFF
##B040311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#C1253D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b04031;
/* rgb */ color: rgb(176, 64, 49);
/* oklch */ color: oklch(52.5% 0.149 30.4);
Tailwind
colors: {
  custom: {
    50: '#cf7a6a',
    500: '#b04031',
    950: '#000000',
  },
}
SCSS
$custom: #b04031;
$custom-light: #cf7a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b04031",
  "rgb": {
    "r": 176,
    "g": 64,
    "b": 49
  },
  "hsl": {
    "h": 7.087,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52524,
    "c": 0.14921,
    "h": 30.4
  },
  "luminance": 0.13119
}

Semantic roles & 50–950 ramp

primary
#B04031
secondary
#78BCC5
accent
#CEE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #B04031

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

Preview Lab → · Contrast checker → · Palette generator →

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