#B04227#B04227

#B04227 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.149 H 34.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B04227
RGBrgb(176, 66, 39)
HSLhsl(12, 64%, 42%)
HSVhsv(12, 78%, 69%)
CMYKcmyk(0%, 62.5%, 77.8%, 31%)
CIE-LABlab(43.18, 43.42, 38.94)
CIE-LCHlch(43.18, 58.32, 41.89°)
OKLaboklab(52.66% 0.1226 0.0856)
OKLCHoklch(52.66% 0.15 34.9)
XYZxyz(20.2211, 13.2759, 3.4168)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B04227 #2795B0
analogous
#B02750 #B04227 #B08727
triadic
#B04227 #27B042 #4227B0
tetradic
#B04227 #50B027 #2795B0 #8727B0
square
#B04227 #50B027 #2795B0 #8727B0
split-complementary
#B04227 #27B087 #2750B0
monochromatic
#4C1C11 #7E2F1C #B04227 #D55D40 #E08772

Accessibility & contrast

On white

5.75
#B04227 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B04227 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B04227
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B04227#FFFFFF#000000##FFFFFF
##B042271.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615723
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#C2263C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b04227;
/* rgb */ color: rgb(176, 66, 39);
/* oklch */ color: oklch(52.7% 0.149 34.9);
Tailwind
colors: {
  custom: {
    50: '#cf7b63',
    500: '#b04227',
    950: '#000000',
  },
}
SCSS
$custom: #b04227;
$custom-light: #cf7b63;
$custom-dark: #000000;
JSON
{
  "hex": "#b04227",
  "rgb": {
    "r": 176,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 11.825,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.1495,
    "h": 34.9
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#B04227
secondary
#6CB5C7
accent
#C6E741
background
#FDF7F5
surface
#FBEEEA
border
#D4C9C6
text
#150A05
muted
#837C79

Preview Lab

Preview with #B04227

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

Preview Lab → · Contrast checker → · Palette generator →

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