#5F180E#5F180E

#5F180E is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.105 H 31.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5F180E
RGBrgb(95, 24, 14)
HSLhsl(7, 74%, 21%)
HSVhsv(7, 85%, 37%)
CMYKcmyk(0%, 74.7%, 85.3%, 62.7%)
CIE-LABlab(20.51, 31.52, 24.68)
CIE-LCHlch(20.51, 40.03, 38.05°)
OKLaboklab(32.68% 0.0895 0.054)
OKLCHoklch(32.68% 0.105 31.1)
XYZxyz(5.1258, 3.1186, 0.7474)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F180E #0E555F
analogous
#5F0E2D #5F180E #5F410E
triadic
#5F180E #0E5F18 #180E5F
tetradic
#5F180E #2D5F0E #0E555F #410E5F
square
#5F180E #2D5F0E #0E555F #410E5F
split-complementary
#5F180E #0E5F41 #0E2D5F
monochromatic
#1B0704 #2A0B06 #5F180E #942516 #CA331E

Accessibility & contrast

On white

12.93
#5F180E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F180E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F180E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F180E#FFFFFF#000000##FFFFFF
##5F180E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270C
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#690116
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f180e;
/* rgb */ color: rgb(95, 24, 14);
/* oklch */ color: oklch(32.7% 0.105 31.1);
Tailwind
colors: {
  custom: {
    50: '#935a4d',
    500: '#5f180e',
    950: '#000000',
  },
}
SCSS
$custom: #5f180e;
$custom-light: #935a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f180e",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 14
  },
  "hsl": {
    "h": 7.407,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32683,
    "c": 0.10454,
    "h": 31.1
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#5F180E
secondary
#308C99
accent
#DAF137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F180E

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

Preview Lab → · Contrast checker → · Palette generator →

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