#58171C#58171C

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

Color values

HEX#58171C
RGBrgb(88, 23, 28)
HSLhsl(355, 59%, 22%)
HSVhsv(355, 74%, 35%)
CMYKcmyk(0%, 73.9%, 68.2%, 65.5%)
CIE-LABlab(19.11, 30.11, 13.74)
CIE-LCHlch(19.11, 33.09, 24.53°)
OKLaboklab(31.43% 0.0892 0.033)
OKLCHoklch(31.43% 0.095 20.3)
XYZxyz(4.5410, 2.7720, 1.3943)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#58171C #175853
analogous
#58173D #58171C #583317
triadic
#58171C #1C5817 #171C58
tetradic
#58171C #3D5817 #175853 #331758
square
#58171C #3D5817 #175853 #331758
split-complementary
#58171C #175833 #173D58
monochromatic
#180608 #270A0D #58171C #89242B #B9303B

Accessibility & contrast

On white

13.51
#58171C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #58171C
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##58171C#FFFFFF#000000##FFFFFF
##58171C1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #58171c;
/* rgb */ color: rgb(88, 23, 28);
/* oklch */ color: oklch(31.4% 0.095 20.3);
Tailwind
colors: {
  custom: {
    50: '#8c5958',
    500: '#58171c',
    950: '#000000',
  },
}
SCSS
$custom: #58171c;
$custom-light: #8c5958;
$custom-dark: #000000;
JSON
{
  "hex": "#58171c",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 355.385,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31431,
    "c": 0.09514,
    "h": 20.3
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

primary
#58171C
secondary
#3C8F89
accent
#E2D646
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #58171C

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

Preview Lab → · Contrast checker → · Palette generator →

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