#5D251F#5D251F

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

Color values

HEX#5D251F
RGBrgb(93, 37, 31)
HSLhsl(6, 50%, 24%)
HSVhsv(6, 67%, 36%)
CMYKcmyk(0%, 60.2%, 66.7%, 63.5%)
CIE-LABlab(22.83, 25.14, 16.62)
CIE-LCHlch(22.83, 30.14, 33.47°)
OKLaboklab(34.43% 0.0736 0.0397)
OKLCHoklch(34.43% 0.084 28.3)
XYZxyz(5.4236, 3.7499, 1.7343)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D251F #1F575D
analogous
#5D1F38 #5D251F #5D441F
triadic
#5D251F #1F5D25 #251F5D
tetradic
#5D251F #385D1F #1F575D #441F5D
square
#5D251F #385D1F #1F575D #441F5D
split-complementary
#5D251F #1F5D44 #1F385D
monochromatic
#170908 #2F1310 #5D251F #8B372E #B94A3E

Accessibility & contrast

On white

12.00
#5D251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D251F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D251F#FFFFFF#000000##FFFFFF
##5D251F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332F1E
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#661B24
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d251f;
/* rgb */ color: rgb(93, 37, 31);
/* oklch */ color: oklch(34.4% 0.084 28.3);
Tailwind
colors: {
  custom: {
    50: '#8f625a',
    500: '#5d251f',
    950: '#000000',
  },
}
SCSS
$custom: #5d251f;
$custom-light: #8f625a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d251f",
  "rgb": {
    "r": 93,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 5.806,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.08358,
    "h": 28.3
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#5D251F
secondary
#468A92
accent
#CCDA4E
background
#F9F5F5
surface
#F1EAE9
border
#CBC6C5
text
#0D0504
muted
#7E7979

Preview Lab

Preview with #5D251F

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

Preview Lab → · Contrast checker → · Palette generator →

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