#582118#582118

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

Color values

HEX#582118
RGBrgb(88, 33, 24)
HSLhsl(8, 57%, 22%)
HSVhsv(8, 73%, 35%)
CMYKcmyk(0%, 62.5%, 72.7%, 65.5%)
CIE-LABlab(20.94, 24.74, 18.71)
CIE-LCHlch(20.94, 31.02, 37.10°)
OKLaboklab(32.78% 0.0715 0.0435)
OKLCHoklch(32.78% 0.084 31.4)
XYZxyz(4.7337, 3.2290, 1.2380)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582118 #184F58
analogous
#58182F #582118 #584118
triadic
#582118 #185821 #211858
tetradic
#582118 #2F5818 #184F58 #411858
square
#582118 #2F5818 #184F58 #411858
split-complementary
#582118 #185841 #182F58
monochromatic
#180907 #280F0B #582118 #883325 #B84532

Accessibility & contrast

On white

12.76
#582118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#582118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582118
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582118#FFFFFF#000000##FFFFFF
##5821181.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582118;
/* rgb */ color: rgb(88, 33, 24);
/* oklch */ color: oklch(32.8% 0.084 31.4);
Tailwind
colors: {
  custom: {
    50: '#8c5e55',
    500: '#582118',
    950: '#000000',
  },
}
SCSS
$custom: #582118;
$custom-light: #8c5e55;
$custom-dark: #000000;
JSON
{
  "hex": "#582118",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 8.438,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32785,
    "c": 0.08369,
    "h": 31.4
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#582118
secondary
#3D838F
accent
#CBE047
background
#F9F5F4
surface
#F1E9E7
border
#CBC5C3
text
#0D0403
muted
#7E7978

Preview Lab

Preview with #582118

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

Preview Lab → · Contrast checker → · Palette generator →

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