#5D251A#5D251A

#5D251A is a dark, moderate red. Relative luminance 0.037; OKLCH L 34.3% C 0.085 H 32.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#5D251A
RGBrgb(93, 37, 26)
HSLhsl(10, 56%, 23%)
HSVhsv(10, 72%, 36%)
CMYKcmyk(0%, 60.2%, 72%, 63.5%)
CIE-LABlab(22.74, 24.78, 19.79)
CIE-LCHlch(22.74, 31.71, 38.61°)
OKLaboklab(34.34% 0.0714 0.046)
OKLCHoklch(34.34% 0.085 32.8)
XYZxyz(5.3627, 3.7256, 1.4138)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D251A #1A525D
analogous
#5D1A30 #5D251A #5D461A
triadic
#5D251A #1A5D25 #251A5D
tetradic
#5D251A #305D1A #1A525D #461A5D
square
#5D251A #305D1A #1A525D #461A5D
split-complementary
#5D251A #1A5D46 #1A305D
monochromatic
#180A07 #2D120D #5D251A #8D3827 #BD4B35

Accessibility & contrast

On white

12.03
#5D251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D251A
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D251A#FFFFFF#000000##FFFFFF
##5D251A1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#661A23
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d251a;
/* rgb */ color: rgb(93, 37, 26);
/* oklch */ color: oklch(34.3% 0.085 32.8);
Tailwind
colors: {
  custom: {
    50: '#906156',
    500: '#5d251a',
    950: '#000000',
  },
}
SCSS
$custom: #5d251a;
$custom-light: #906156;
$custom-dark: #000000;
JSON
{
  "hex": "#5d251a",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 9.851,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34339,
    "c": 0.08495,
    "h": 32.8
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#5D251A
secondary
#408593
accent
#C7E048
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5D251A

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

Preview Lab → · Contrast checker → · Palette generator →

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