#5F231B#5F231B

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

Color values

HEX#5F231B
RGBrgb(95, 35, 27)
HSLhsl(7, 56%, 24%)
HSVhsv(7, 72%, 37%)
CMYKcmyk(0%, 63.2%, 71.6%, 62.7%)
CIE-LABlab(22.71, 26.78, 19.18)
CIE-LCHlch(22.71, 32.94, 35.62°)
OKLaboklab(34.39% 0.0776 0.0448)
OKLCHoklch(34.39% 0.09 30)
XYZxyz(5.5187, 3.7148, 1.4631)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F231B #1B575F
analogous
#5F1B35 #5F231B #5F451B
triadic
#5F231B #1B5F23 #231B5F
tetradic
#5F231B #355F1B #1B575F #451B5F
square
#5F231B #355F1B #1B575F #451B5F
split-complementary
#5F231B #1B5F45 #1B355F
monochromatic
#180907 #2F110D #5F231B #8F3529 #BE4636

Accessibility & contrast

On white

12.05
#5F231B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F231B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F231B#FFFFFF#000000##FFFFFF
##5F231B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f231b;
/* rgb */ color: rgb(95, 35, 27);
/* oklch */ color: oklch(34.4% 0.090 30.0);
Tailwind
colors: {
  custom: {
    50: '#916057',
    500: '#5f231b',
    950: '#000000',
  },
}
SCSS
$custom: #5f231b;
$custom-light: #916057;
$custom-dark: #000000;
JSON
{
  "hex": "#5f231b",
  "rgb": {
    "r": 95,
    "g": 35,
    "b": 27
  },
  "hsl": {
    "h": 7.059,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34387,
    "c": 0.08959,
    "h": 30
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#5F231B
secondary
#418B95
accent
#CDDF49
background
#F9F5F5
surface
#F2EAE9
border
#CCC6C5
text
#0E0503
muted
#7E7978

Preview Lab

Preview with #5F231B

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

Preview Lab → · Contrast checker → · Palette generator →

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