#58171E#58171E

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

Color values

HEX#58171E
RGBrgb(88, 23, 30)
HSLhsl(354, 59%, 22%)
HSVhsv(354, 74%, 35%)
CMYKcmyk(0%, 73.9%, 65.9%, 65.5%)
CIE-LABlab(19.15, 30.26, 12.40)
CIE-LCHlch(19.15, 32.70, 22.28°)
OKLaboklab(31.48% 0.0901 0.0301)
OKLCHoklch(31.48% 0.095 18.5)
XYZxyz(4.5657, 2.7819, 1.5246)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58171E #175851
analogous
#58173F #58171E #583117
triadic
#58171E #1E5817 #171E58
tetradic
#58171E #3F5817 #175851 #311758
square
#58171E #3F5817 #175851 #311758
split-complementary
#58171E #175831 #173F58
monochromatic
#180608 #270A0D #58171E #89242F #B9303F

Accessibility & contrast

On white

13.49
#58171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#58171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #58171E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58171E#FFFFFF#000000##FFFFFF
##58171E1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261E
Deuteranopia (green-blind)
#39331C
Tritanopia (blue-blind)
#61071A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #58171e;
/* rgb */ color: rgb(88, 23, 30);
/* oklch */ color: oklch(31.5% 0.095 18.5);
Tailwind
colors: {
  custom: {
    50: '#8c5959',
    500: '#58171e',
    950: '#000000',
  },
}
SCSS
$custom: #58171e;
$custom-light: #8c5959;
$custom-dark: #000000;
JSON
{
  "hex": "#58171e",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 353.538,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31476,
    "c": 0.09503,
    "h": 18.5
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#58171E
secondary
#3C8F86
accent
#E2D146
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #58171E

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

Preview Lab → · Contrast checker → · Palette generator →

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