#58271F#58271F

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

Color values

HEX#58271F
RGBrgb(88, 39, 31)
HSLhsl(8, 48%, 23%)
HSVhsv(8, 65%, 35%)
CMYKcmyk(0%, 55.7%, 64.8%, 65.5%)
CIE-LABlab(22.39, 21.84, 15.89)
CIE-LCHlch(22.39, 27.01, 36.04°)
OKLaboklab(33.92% 0.0639 0.0382)
OKLCHoklch(33.92% 0.074 30.9)
XYZxyz(4.9978, 3.6253, 1.7326)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58271F #1F5058
analogous
#581F33 #58271F #58431F
triadic
#58271F #1F5827 #271F58
tetradic
#58271F #33581F #1F5058 #431F58
square
#58271F #33581F #1F5058 #431F58
split-complementary
#58271F #1F5843 #1F3358
monochromatic
#170A08 #2B130F #58271F #853B2F #B34F3F

Accessibility & contrast

On white

12.17
#58271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#58271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58271F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58271F#FFFFFF#000000##FFFFFF
##58271F1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#3F3A1E
Tritanopia (blue-blind)
#611E25
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #58271f;
/* rgb */ color: rgb(88, 39, 31);
/* oklch */ color: oklch(33.9% 0.074 30.9);
Tailwind
colors: {
  custom: {
    50: '#8b625a',
    500: '#58271f',
    950: '#000000',
  },
}
SCSS
$custom: #58271f;
$custom-light: #8b625a;
$custom-dark: #000000;
JSON
{
  "hex": "#58271f",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 8.421,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33925,
    "c": 0.07441,
    "h": 30.9
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#58271F
secondary
#46838D
accent
#C5D750
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0C0504
muted
#7D7979

Preview Lab

Preview with #58271F

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

Preview Lab → · Contrast checker → · Palette generator →

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