#5F271D#5F271D

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

Color values

HEX#5F271D
RGBrgb(95, 39, 29)
HSLhsl(9, 53%, 24%)
HSVhsv(9, 69%, 37%)
CMYKcmyk(0%, 58.9%, 69.5%, 62.7%)
CIE-LABlab(23.58, 24.72, 18.95)
CIE-LCHlch(23.58, 31.14, 37.47°)
OKLaboklab(35.06% 0.0716 0.0446)
OKLCHoklch(35.06% 0.084 31.9)
XYZxyz(5.6671, 3.9733, 1.6307)
Luminance0.0397 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F271D #1D555F
analogous
#5F1D34 #5F271D #5F481D
triadic
#5F271D #1D5F27 #271D5F
tetradic
#5F271D #345F1D #1D555F #481D5F
square
#5F271D #345F1D #1D555F #481D5F
split-complementary
#5F271D #1D5F48 #1D345F
monochromatic
#170A07 #30140F #5F271D #8E3A2B #BD4D3A

Accessibility & contrast

On white

11.70
#5F271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F271D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F271D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F271D#FFFFFF#000000##FFFFFF
##5F271D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311C
Deuteranopia (green-blind)
#433D1C
Tritanopia (blue-blind)
#691C25
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f271d;
/* rgb */ color: rgb(95, 39, 29);
/* oklch */ color: oklch(35.1% 0.084 31.9);
Tailwind
colors: {
  custom: {
    50: '#916359',
    500: '#5f271d',
    950: '#000000',
  },
}
SCSS
$custom: #5f271d;
$custom-light: #916359;
$custom-dark: #000000;
JSON
{
  "hex": "#5f271d",
  "rgb": {
    "r": 95,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 9.091,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.08432,
    "h": 31.9
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#5F271D
secondary
#448894
accent
#C7DD4B
background
#F9F6F5
surface
#F2EBE9
border
#CCC6C5
text
#0D0503
muted
#7E7A78

Preview Lab

Preview with #5F271D

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

Preview Lab → · Contrast checker → · Palette generator →

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