#5E231E#5E231E

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

Color values

HEX#5E231E
RGBrgb(94, 35, 30)
HSLhsl(5, 52%, 24%)
HSVhsv(5, 68%, 37%)
CMYKcmyk(0%, 62.8%, 68.1%, 63.1%)
CIE-LABlab(22.57, 26.58, 17.00)
CIE-LCHlch(22.57, 31.55, 32.61°)
OKLaboklab(34.27% 0.0777 0.0404)
OKLCHoklch(34.27% 0.088 27.5)
XYZxyz(5.4520, 3.6762, 1.6505)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E231E #1E595E
analogous
#5E1E39 #5E231E #5E431E
triadic
#5E231E #1E5E23 #231E5E
tetradic
#5E231E #395E1E #1E595E #431E5E
square
#5E231E #395E1E #1E595E #431E5E
split-complementary
#5E231E #1E5E43 #1E395E
monochromatic
#170907 #30120F #5E231E #8C342D #BB463C

Accessibility & contrast

On white

12.10
#5E231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E231E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E231E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E231E#FFFFFF#000000##FFFFFF
##5E231E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322E1D
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#671722
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e231e;
/* rgb */ color: rgb(94, 35, 30);
/* oklch */ color: oklch(34.3% 0.088 27.5);
Tailwind
colors: {
  custom: {
    50: '#906059',
    500: '#5e231e',
    950: '#000000',
  },
}
SCSS
$custom: #5e231e;
$custom-light: #906059;
$custom-dark: #000000;
JSON
{
  "hex": "#5e231e",
  "rgb": {
    "r": 94,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 4.688,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34266,
    "c": 0.08759,
    "h": 27.5
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#5E231E
secondary
#458D93
accent
#D0DB4D
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0D0503
muted
#7E7978

Preview Lab

Preview with #5E231E

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

Preview Lab → · Contrast checker → · Palette generator →

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