#58171B#58171B

#58171B is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.095 H 21.2°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#58171B
RGBrgb(88, 23, 27)
HSLhsl(356, 59%, 22%)
HSVhsv(356, 74%, 35%)
CMYKcmyk(0%, 73.9%, 69.3%, 65.5%)
CIE-LABlab(19.09, 30.04, 14.41)
CIE-LCHlch(19.09, 33.31, 25.63°)
OKLaboklab(31.41% 0.0888 0.0344)
OKLCHoklch(31.41% 0.095 21.2)
XYZxyz(4.5292, 2.7673, 1.3323)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58171B #175854
analogous
#58173C #58171B #583417
triadic
#58171B #1B5817 #171B58
tetradic
#58171B #3C5817 #175854 #341758
square
#58171B #3C5817 #175854 #341758
split-complementary
#58171B #175834 #173C58
monochromatic
#180607 #270A0C #58171B #89242A #B93039

Accessibility & contrast

On white

13.52
#58171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#58171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58171B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58171B#FFFFFF#000000##FFFFFF
##58171B1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261B
Deuteranopia (green-blind)
#393319
Tritanopia (blue-blind)
#610619
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #58171b;
/* rgb */ color: rgb(88, 23, 27);
/* oklch */ color: oklch(31.4% 0.095 21.2);
Tailwind
colors: {
  custom: {
    50: '#8c5957',
    500: '#58171b',
    950: '#000000',
  },
}
SCSS
$custom: #58171b;
$custom-light: #8c5957;
$custom-dark: #000000;
JSON
{
  "hex": "#58171b",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 356.308,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.09521,
    "h": 21.2
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#58171B
secondary
#3C8F8A
accent
#E2D846
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #58171B

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

Preview Lab → · Contrast checker → · Palette generator →

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