#B04231#B04231

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

Color values

HEX#B04231
RGBrgb(176, 66, 49)
HSLhsl(8, 56%, 44%)
HSVhsv(8, 72%, 69%)
CMYKcmyk(0%, 62.5%, 72.2%, 31%)
CIE-LABlab(43.29, 43.86, 33.55)
CIE-LCHlch(43.29, 55.22, 37.41°)
OKLaboklab(52.78% 0.1259 0.0763)
OKLCHoklch(52.78% 0.147 31.2)
XYZxyz(20.4092, 13.3511, 4.4075)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04231 #319FB0
analogous
#B03160 #B04231 #B08131
triadic
#B04231 #31B042 #4231B0
tetradic
#B04231 #60B031 #319FB0 #8131B0
square
#B04231 #60B031 #319FB0 #8131B0
split-complementary
#B04231 #31B081 #3160B0
monochromatic
#501E16 #803024 #B04231 #CE6150 #DC8C80

Accessibility & contrast

On white

5.72
#B04231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B04231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04231
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04231#FFFFFF#000000##FFFFFF
##B042311.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572F
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#C1283F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b04231;
/* rgb */ color: rgb(176, 66, 49);
/* oklch */ color: oklch(52.8% 0.147 31.2);
Tailwind
colors: {
  custom: {
    50: '#cf7b6a',
    500: '#b04231',
    950: '#000000',
  },
}
SCSS
$custom: #b04231;
$custom-light: #cf7b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b04231",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 8.031,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.1472,
    "h": 31.2
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#B04231
secondary
#78BAC5
accent
#CBE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #B04231

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

Preview Lab → · Contrast checker → · Palette generator →

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