#5D251D#5D251D

#5D251D is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.4% C 0.084 H 30.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#5D251D
RGBrgb(93, 37, 29)
HSLhsl(8, 52%, 24%)
HSVhsv(8, 69%, 36%)
CMYKcmyk(0%, 60.2%, 68.8%, 63.5%)
CIE-LABlab(22.79, 24.99, 17.90)
CIE-LCHlch(22.79, 30.74, 35.61°)
OKLaboklab(34.39% 0.0727 0.0423)
OKLCHoklch(34.39% 0.084 30.2)
XYZxyz(5.3980, 3.7397, 1.5997)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D251D #1D555D
analogous
#5D1D35 #5D251D #5D451D
triadic
#5D251D #1D5D25 #251D5D
tetradic
#5D251D #355D1D #1D555D #451D5D
square
#5D251D #355D1D #1D555D #451D5D
split-complementary
#5D251D #1D5D45 #1D355D
monochromatic
#170907 #2E120E #5D251D #8C382C #BA4A3A

Accessibility & contrast

On white

12.02
#5D251D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5D251D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D251D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D251D#FFFFFF#000000##FFFFFF
##5D251D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1C
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#661A23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d251d;
/* rgb */ color: rgb(93, 37, 29);
/* oklch */ color: oklch(34.4% 0.084 30.2);
Tailwind
colors: {
  custom: {
    50: '#8f6159',
    500: '#5d251d',
    950: '#000000',
  },
}
SCSS
$custom: #5d251d;
$custom-light: #8f6159;
$custom-dark: #000000;
JSON
{
  "hex": "#5d251d",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 29
  },
  "hsl": {
    "h": 7.5,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34392,
    "c": 0.08409,
    "h": 30.2
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#5D251D
secondary
#448892
accent
#CADC4C
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D251D

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

Preview Lab → · Contrast checker → · Palette generator →

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