#5D1F12#5D1F12

#5D1F12 is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.3% C 0.094 H 33.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5D1F12
RGBrgb(93, 31, 18)
HSLhsl(10, 68%, 22%)
HSVhsv(10, 81%, 36%)
CMYKcmyk(0%, 66.7%, 80.6%, 63.5%)
CIE-LABlab(21.40, 27.55, 23.31)
CIE-LCHlch(21.40, 36.09, 40.23°)
OKLaboklab(33.29% 0.0783 0.0519)
OKLCHoklch(33.29% 0.094 33.6)
XYZxyz(5.1139, 3.3515, 0.9498)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1F12 #12505D
analogous
#5D122B #5D1F12 #5D4512
triadic
#5D1F12 #125D1F #1F125D
tetradic
#5D1F12 #2B5D12 #12505D #45125D
square
#5D1F12 #2B5D12 #12505D #45125D
split-complementary
#5D1F12 #125D45 #122B5D
monochromatic
#1A0905 #2A0E08 #5D1F12 #90301C #C44126

Accessibility & contrast

On white

12.57
#5D1F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D1F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1F12
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1F12#FFFFFF#000000##FFFFFF
##5D1F121.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B10
Deuteranopia (green-blind)
#403810
Tritanopia (blue-blind)
#67101C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1f12;
/* rgb */ color: rgb(93, 31, 18);
/* oklch */ color: oklch(33.3% 0.094 33.6);
Tailwind
colors: {
  custom: {
    50: '#915e50',
    500: '#5d1f12',
    950: '#000000',
  },
}
SCSS
$custom: #5d1f12;
$custom-light: #915e50;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1f12",
  "rgb": {
    "r": 93,
    "g": 31,
    "b": 18
  },
  "hsl": {
    "h": 10.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33289,
    "c": 0.09393,
    "h": 33.6
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#5D1F12
secondary
#358595
accent
#CCEA3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5D1F12

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

Preview Lab → · Contrast checker → · Palette generator →

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