#5D1512#5D1512

#5D1512 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.0% C 0.104 H 27.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#5D1512
RGBrgb(93, 21, 18)
HSLhsl(2, 68%, 22%)
HSVhsv(2, 81%, 36%)
CMYKcmyk(0%, 77.4%, 80.6%, 63.5%)
CIE-LABlab(19.67, 32.23, 21.39)
CIE-LCHlch(19.67, 38.69, 33.57°)
OKLaboklab(31.99% 0.0929 0.0478)
OKLCHoklch(31.99% 0.105 27.3)
XYZxyz(4.8921, 2.9079, 0.8758)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1512 #125A5D
analogous
#5D1235 #5D1512 #5D3B12
triadic
#5D1512 #125D15 #15125D
tetradic
#5D1512 #355D12 #125A5D #3B125D
square
#5D1512 #355D12 #125A5D #3B125D
split-complementary
#5D1512 #125D3B #12355D
monochromatic
#1A0605 #2A0908 #5D1512 #90211C #C42C26

Accessibility & contrast

On white

13.28
#5D1512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D1512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1512
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1512#FFFFFF#000000##FFFFFF
##5D15121.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2611
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#670015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1512;
/* rgb */ color: rgb(93, 21, 18);
/* oklch */ color: oklch(32.0% 0.104 27.3);
Tailwind
colors: {
  custom: {
    50: '#925850',
    500: '#5d1512',
    950: '#000000',
  },
}
SCSS
$custom: #5d1512;
$custom-light: #925850;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1512",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 2.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31992,
    "c": 0.1045,
    "h": 27.3
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#5D1512
secondary
#359295
accent
#E4EA3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5D1512

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

Preview Lab → · Contrast checker → · Palette generator →

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