#58171F#58171F

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

Color values

HEX#58171F
RGBrgb(88, 23, 31)
HSLhsl(353, 59%, 22%)
HSVhsv(353, 74%, 35%)
CMYKcmyk(0%, 73.9%, 64.8%, 65.5%)
CIE-LABlab(19.17, 30.33, 11.72)
CIE-LCHlch(19.17, 32.52, 21.13°)
OKLaboklab(31.5% 0.0906 0.0286)
OKLCHoklch(31.5% 0.095 17.5)
XYZxyz(4.5787, 2.7871, 1.5929)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58171F #175850
analogous
#581740 #58171F #583017
triadic
#58171F #1F5817 #171F58
tetradic
#58171F #405817 #175850 #301758
square
#58171F #405817 #175850 #301758
split-complementary
#58171F #175830 #174058
monochromatic
#180609 #270A0E #58171F #892430 #B93041

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##58171F#FFFFFF#000000##FFFFFF
##58171F1.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)
#28261F
Deuteranopia (green-blind)
#38341D
Tritanopia (blue-blind)
#61081A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #58171f;
/* rgb */ color: rgb(88, 23, 31);
/* oklch */ color: oklch(31.5% 0.095 17.5);
Tailwind
colors: {
  custom: {
    50: '#8c595a',
    500: '#58171f',
    950: '#000000',
  },
}
SCSS
$custom: #58171f;
$custom-light: #8c595a;
$custom-dark: #000000;
JSON
{
  "hex": "#58171f",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 352.615,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31499,
    "c": 0.09502,
    "h": 17.5
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#58171F
secondary
#3C8F85
accent
#E2CF46
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #58171F

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

Preview Lab → · Contrast checker → · Palette generator →

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