#58271B#58271B

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

Color values

HEX#58271B
RGBrgb(88, 39, 27)
HSLhsl(12, 53%, 23%)
HSVhsv(12, 69%, 35%)
CMYKcmyk(0%, 55.7%, 69.3%, 65.5%)
CIE-LABlab(22.32, 21.52, 18.43)
CIE-LCHlch(22.32, 28.33, 40.58°)
OKLaboklab(33.85% 0.0621 0.0434)
OKLCHoklch(33.85% 0.076 34.9)
XYZxyz(4.9483, 3.6055, 1.4720)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58271B #1B4C58
analogous
#581B2E #58271B #58451B
triadic
#58271B #1B5827 #271B58
tetradic
#58271B #2E581B #1B4C58 #451B58
square
#58271B #2E581B #1B4C58 #451B58
split-complementary
#58271B #1B5845 #1B2E58
monochromatic
#170A07 #29120D #58271B #873C29 #B65138

Accessibility & contrast

On white

12.20
#58271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58271B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58271B#FFFFFF#000000##FFFFFF
##58271B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F1A
Deuteranopia (green-blind)
#40391A
Tritanopia (blue-blind)
#611E24
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #58271b;
/* rgb */ color: rgb(88, 39, 27);
/* oklch */ color: oklch(33.8% 0.076 34.9);
Tailwind
colors: {
  custom: {
    50: '#8b6257',
    500: '#58271b',
    950: '#000000',
  },
}
SCSS
$custom: #58271b;
$custom-light: #8b6257;
$custom-dark: #000000;
JSON
{
  "hex": "#58271b",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 11.803,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33849,
    "c": 0.07575,
    "h": 34.9
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#58271B
secondary
#417F8E
accent
#C0DC4B
background
#F8F5F5
surface
#F0EAE9
border
#CBC6C5
text
#0D0503
muted
#7D7978

Preview Lab

Preview with #58271B

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

Preview Lab → · Contrast checker → · Palette generator →

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