#5D180F#5D180F

#5D180F is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.3% C 0.102 H 30.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5D180F
RGBrgb(93, 24, 15)
HSLhsl(7, 72%, 21%)
HSVhsv(7, 84%, 36%)
CMYKcmyk(0%, 74.2%, 83.9%, 63.5%)
CIE-LABlab(20.11, 30.81, 23.59)
CIE-LCHlch(20.11, 38.80, 37.44°)
OKLaboklab(32.31% 0.0877 0.0521)
OKLCHoklch(32.31% 0.102 30.7)
XYZxyz(4.9276, 3.0157, 0.7745)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D180F #0F545D
analogous
#5D0F2D #5D180F #5D3F0F
triadic
#5D180F #0F5D18 #180F5D
tetradic
#5D180F #2D5D0F #0F545D #3F0F5D
square
#5D180F #2D5D0F #0F545D #3F0F5D
split-complementary
#5D180F #0F5D3F #0F2D5D
monochromatic
#1A0704 #280A06 #5D180F #922617 #C63320

Accessibility & contrast

On white

13.10
#5D180F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D180F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D180F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D180F#FFFFFF#000000##FFFFFF
##5D180F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C270D
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#670216
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d180f;
/* rgb */ color: rgb(93, 24, 15);
/* oklch */ color: oklch(32.3% 0.102 30.7);
Tailwind
colors: {
  custom: {
    50: '#925a4e',
    500: '#5d180f',
    950: '#000000',
  },
}
SCSS
$custom: #5d180f;
$custom-light: #925a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d180f",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 15
  },
  "hsl": {
    "h": 6.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32305,
    "c": 0.10201,
    "h": 30.7
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#5D180F
secondary
#318B96
accent
#DAEF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5D180F

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

Preview Lab → · Contrast checker → · Palette generator →

#5D180F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva