#5F231E#5F231E

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

Color values

HEX#5F231E
RGBrgb(95, 35, 30)
HSLhsl(5, 52%, 25%)
HSVhsv(5, 68%, 37%)
CMYKcmyk(0%, 63.2%, 68.4%, 62.7%)
CIE-LABlab(22.76, 26.99, 17.27)
CIE-LCHlch(22.76, 32.04, 32.62°)
OKLaboklab(34.44% 0.0789 0.041)
OKLCHoklch(34.44% 0.089 27.4)
XYZxyz(5.5552, 3.7294, 1.6554)
Luminance0.0373 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F231E #1E5A5F
analogous
#5F1E3A #5F231E #5F441E
triadic
#5F231E #1E5F23 #231E5F
tetradic
#5F231E #3A5F1E #1E5A5F #441E5F
square
#5F231E #3A5F1E #1E5A5F #441E5F
split-complementary
#5F231E #1E5F44 #1E3A5F
monochromatic
#170907 #30120F #5F231E #8E342D #BC453B

Accessibility & contrast

On white

12.03
#5F231E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F231E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F231E#FFFFFF#000000##FFFFFF
##5F231E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f231e;
/* rgb */ color: rgb(95, 35, 30);
/* oklch */ color: oklch(34.4% 0.089 27.4);
Tailwind
colors: {
  custom: {
    50: '#916059',
    500: '#5f231e',
    950: '#000000',
  },
}
SCSS
$custom: #5f231e;
$custom-light: #916059;
$custom-dark: #000000;
JSON
{
  "hex": "#5f231e",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 4.615,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34442,
    "c": 0.08889,
    "h": 27.4
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#5F231E
secondary
#458E94
accent
#D0DB4C
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F231E

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

Preview Lab → · Contrast checker → · Palette generator →

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