#582117#582117

#582117 is a dark, moderate red. Relative luminance 0.032; OKLCH L 32.8% C 0.084 H 32.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#582117
RGBrgb(88, 33, 23)
HSLhsl(9, 59%, 22%)
HSVhsv(9, 74%, 35%)
CMYKcmyk(0%, 62.5%, 73.9%, 65.5%)
CIE-LABlab(20.92, 24.68, 19.35)
CIE-LCHlch(20.92, 31.36, 38.10°)
OKLaboklab(32.77% 0.0711 0.0448)
OKLCHoklch(32.77% 0.084 32.2)
XYZxyz(4.7235, 3.2249, 1.1842)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582117 #174E58
analogous
#58172E #582117 #584217
triadic
#582117 #175821 #211758
tetradic
#582117 #2E5817 #174E58 #421758
square
#582117 #2E5817 #174E58 #421758
split-complementary
#582117 #175842 #172E58
monochromatic
#180906 #270F0A #582117 #893324 #B94530

Accessibility & contrast

On white

12.77
#582117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#582117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582117
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582117#FFFFFF#000000##FFFFFF
##5821171.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B16
Deuteranopia (green-blind)
#3D3716
Tritanopia (blue-blind)
#61161F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #582117;
/* rgb */ color: rgb(88, 33, 23);
/* oklch */ color: oklch(32.8% 0.084 32.2);
Tailwind
colors: {
  custom: {
    50: '#8c5e54',
    500: '#582117',
    950: '#000000',
  },
}
SCSS
$custom: #582117;
$custom-light: #8c5e54;
$custom-dark: #000000;
JSON
{
  "hex": "#582117",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 9.231,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.08397,
    "h": 32.2
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#582117
secondary
#3C828F
accent
#CAE246
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0402
muted
#7E7978

Preview Lab

Preview with #582117

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

Preview Lab → · Contrast checker → · Palette generator →

#582117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva