#5D2212#5D2212

#5D2212 is a dark, moderate red. Relative luminance 0.035; OKLCH L 33.7% C 0.091 H 36.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5D2212
RGBrgb(93, 34, 18)
HSLhsl(13, 68%, 22%)
HSVhsv(13, 81%, 36%)
CMYKcmyk(0%, 63.4%, 80.6%, 63.5%)
CIE-LABlab(22.00, 25.97, 23.96)
CIE-LCHlch(22.00, 35.33, 42.69°)
OKLaboklab(33.74% 0.0734 0.0533)
OKLCHoklch(33.74% 0.091 36)
XYZxyz(5.1960, 3.5156, 0.9771)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D2212 #124D5D
analogous
#5D1228 #5D2212 #5D4812
triadic
#5D2212 #125D22 #22125D
tetradic
#5D2212 #285D12 #124D5D #48125D
square
#5D2212 #285D12 #124D5D #48125D
split-complementary
#5D2212 #125D48 #12285D
monochromatic
#1A0905 #2A0F08 #5D2212 #90351C #C44726

Accessibility & contrast

On white

12.33
#5D2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D2212
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D2212#FFFFFF#000000##FFFFFF
##5D22121.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322D10
Deuteranopia (green-blind)
#413A10
Tritanopia (blue-blind)
#67141F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d2212;
/* rgb */ color: rgb(93, 34, 18);
/* oklch */ color: oklch(33.7% 0.091 36.0);
Tailwind
colors: {
  custom: {
    50: '#915f50',
    500: '#5d2212',
    950: '#000000',
  },
}
SCSS
$custom: #5d2212;
$custom-light: #915f50;
$custom-dark: #000000;
JSON
{
  "hex": "#5d2212",
  "rgb": {
    "r": 93,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 12.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33742,
    "c": 0.09069,
    "h": 36
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#5D2212
secondary
#358195
accent
#C6EA3D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0502
muted
#7E7978

Preview Lab

Preview with #5D2212

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

Preview Lab → · Contrast checker → · Palette generator →

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