#5F281A#5F281A

#5F281A is a dark, moderate red. Relative luminance 0.040; OKLCH L 35.2% C 0.084 H 35.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#5F281A
RGBrgb(95, 40, 26)
HSLhsl(12, 57%, 24%)
HSVhsv(12, 73%, 37%)
CMYKcmyk(0%, 57.9%, 72.6%, 62.7%)
CIE-LABlab(23.76, 23.95, 21.08)
CIE-LCHlch(23.76, 31.90, 41.35°)
OKLaboklab(35.18% 0.0686 0.0488)
OKLCHoklch(35.18% 0.084 35.4)
XYZxyz(5.6651, 4.0258, 1.4558)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F281A #1A515F
analogous
#5F1A2E #5F281A #5F4A1A
triadic
#5F281A #1A5F28 #281A5F
tetradic
#5F281A #2E5F1A #1A515F #4A1A5F
square
#5F281A #2E5F1A #1A515F #4A1A5F
split-complementary
#5F281A #1A5F4A #1A2E5F
monochromatic
#180A07 #2F140D #5F281A #8F3C27 #BF5034

Accessibility & contrast

On white

11.63
#5F281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F281A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F281A#FFFFFF#000000##FFFFFF
##5F281A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#443D19
Tritanopia (blue-blind)
#691D25
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f281a;
/* rgb */ color: rgb(95, 40, 26);
/* oklch */ color: oklch(35.2% 0.084 35.4);
Tailwind
colors: {
  custom: {
    50: '#916457',
    500: '#5f281a',
    950: '#000000',
  },
}
SCSS
$custom: #5f281a;
$custom-light: #916457;
$custom-dark: #000000;
JSON
{
  "hex": "#5f281a",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 12.174,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35178,
    "c": 0.08414,
    "h": 35.4
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#5F281A
secondary
#408495
accent
#C1E048
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F281A

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

Preview Lab → · Contrast checker → · Palette generator →

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