#5F231A#5F231A

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

Color values

HEX#5F231A
RGBrgb(95, 35, 26)
HSLhsl(8, 57%, 24%)
HSVhsv(8, 73%, 37%)
CMYKcmyk(0%, 63.2%, 72.6%, 62.7%)
CIE-LABlab(22.69, 26.71, 19.82)
CIE-LCHlch(22.69, 33.26, 36.57°)
OKLaboklab(34.37% 0.0772 0.046)
OKLCHoklch(34.37% 0.09 30.8)
XYZxyz(5.5073, 3.7103, 1.4032)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F231A #1A565F
analogous
#5F1A33 #5F231A #5F451A
triadic
#5F231A #1A5F23 #231A5F
tetradic
#5F231A #335F1A #1A565F #451A5F
square
#5F231A #335F1A #1A565F #451A5F
split-complementary
#5F231A #1A5F45 #1A335F
monochromatic
#180907 #2F110D #5F231A #8F3527 #BF4634

Accessibility & contrast

On white

12.06
#5F231A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F231A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F231A#FFFFFF#000000##FFFFFF
##5F231A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#423B18
Tritanopia (blue-blind)
#691621
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f231a;
/* rgb */ color: rgb(95, 35, 26);
/* oklch */ color: oklch(34.4% 0.090 30.8);
Tailwind
colors: {
  custom: {
    50: '#926056',
    500: '#5f231a',
    950: '#000000',
  },
}
SCSS
$custom: #5f231a;
$custom-light: #926056;
$custom-dark: #000000;
JSON
{
  "hex": "#5f231a",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 26
  },
  "hsl": {
    "h": 7.826,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3437,
    "c": 0.08984,
    "h": 30.8
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#5F231A
secondary
#408A95
accent
#CCE048
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F231A

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

Preview Lab → · Contrast checker → · Palette generator →

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