#58271E#58271E

#58271E is a dark, moderate red. Relative luminance 0.036; OKLCH L 33.9% C 0.075 H 31.9°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#58271E
RGBrgb(88, 39, 30)
HSLhsl(9, 49%, 23%)
HSVhsv(9, 66%, 35%)
CMYKcmyk(0%, 55.7%, 65.9%, 65.5%)
CIE-LABlab(22.37, 21.75, 16.53)
CIE-LCHlch(22.37, 27.32, 37.22°)
OKLaboklab(33.91% 0.0634 0.0395)
OKLCHoklch(33.91% 0.075 31.9)
XYZxyz(4.9848, 3.6201, 1.6643)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58271E #1E4F58
analogous
#581E32 #58271E #58441E
triadic
#58271E #1E5827 #271E58
tetradic
#58271E #32581E #1E4F58 #441E58
square
#58271E #32581E #1E4F58 #441E58
split-complementary
#58271E #1E5844 #1E3258
monochromatic
#170A08 #2A130E #58271E #863B2E #B34F3D

Accessibility & contrast

On white

12.18
#58271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58271E
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58271E#FFFFFF#000000##FFFFFF
##58271E1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1D
Deuteranopia (green-blind)
#3F391D
Tritanopia (blue-blind)
#611E25
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58271e;
/* rgb */ color: rgb(88, 39, 30);
/* oklch */ color: oklch(33.9% 0.075 31.9);
Tailwind
colors: {
  custom: {
    50: '#8b625a',
    500: '#58271e',
    950: '#000000',
  },
}
SCSS
$custom: #58271e;
$custom-light: #8b625a;
$custom-dark: #000000;
JSON
{
  "hex": "#58271e",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 9.31,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.07472,
    "h": 31.9
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#58271E
secondary
#45828D
accent
#C3D94F
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0503
muted
#7D7978

Preview Lab

Preview with #58271E

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

Preview Lab → · Contrast checker → · Palette generator →

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