#58271A#58271A

#58271A is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.8% C 0.076 H 35.9°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#58271A
RGBrgb(88, 39, 26)
HSLhsl(13, 54%, 22%)
HSVhsv(13, 70%, 35%)
CMYKcmyk(0%, 55.7%, 70.5%, 65.5%)
CIE-LABlab(22.31, 21.45, 19.05)
CIE-LCHlch(22.31, 28.69, 41.62°)
OKLaboklab(33.83% 0.0617 0.0446)
OKLCHoklch(33.83% 0.076 35.9)
XYZxyz(4.9369, 3.6009, 1.4121)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58271A #1A4B58
analogous
#581A2C #58271A #58461A
triadic
#58271A #1A5827 #271A58
tetradic
#58271A #2C581A #1A4B58 #461A58
square
#58271A #2C581A #1A4B58 #461A58
split-complementary
#58271A #1A5846 #1A2C58
monochromatic
#180A07 #29120C #58271A #873C28 #B65136

Accessibility & contrast

On white

12.21
#58271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#58271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58271A
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58271A#FFFFFF#000000##FFFFFF
##58271A1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#403919
Tritanopia (blue-blind)
#611E24
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58271a;
/* rgb */ color: rgb(88, 39, 26);
/* oklch */ color: oklch(33.8% 0.076 35.9);
Tailwind
colors: {
  custom: {
    50: '#8b6256',
    500: '#58271a',
    950: '#000000',
  },
}
SCSS
$custom: #58271a;
$custom-light: #8b6256;
$custom-dark: #000000;
JSON
{
  "hex": "#58271a",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 12.581,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33832,
    "c": 0.07611,
    "h": 35.9
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#58271A
secondary
#407E8E
accent
#BFDE4A
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0D0503
muted
#7D7978

Preview Lab

Preview with #58271A

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

Preview Lab → · Contrast checker → · Palette generator →

#58271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva