#5F1211#5F1211

#5F1211 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 26.5°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#5F1211
RGBrgb(95, 18, 17)
HSLhsl(1, 70%, 22%)
HSVhsv(1, 82%, 37%)
CMYKcmyk(0%, 81.1%, 82.1%, 62.7%)
CIE-LABlab(19.67, 34.08, 22.09)
CIE-LCHlch(19.67, 40.61, 32.96°)
OKLaboklab(32.06% 0.0982 0.0491)
OKLCHoklch(32.06% 0.11 26.5)
XYZxyz(5.0374, 2.9068, 0.8260)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1211 #115E5F
analogous
#5F1137 #5F1211 #5F3911
triadic
#5F1211 #115F12 #12115F
tetradic
#5F1211 #375F11 #115E5F #39115F
square
#5F1211 #375F11 #115E5F #39115F
split-complementary
#5F1211 #115F39 #11375F
monochromatic
#1A0505 #2B0808 #5F1211 #931C1A #C72624

Accessibility & contrast

On white

13.28
#5F1211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1211
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1211#FFFFFF#000000##FFFFFF
##5F12111.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292510
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1211;
/* rgb */ color: rgb(95, 18, 17);
/* oklch */ color: oklch(32.1% 0.110 26.5);
Tailwind
colors: {
  custom: {
    50: '#93574f',
    500: '#5f1211',
    950: '#000000',
  },
}
SCSS
$custom: #5f1211;
$custom-light: #93574f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1211",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 17
  },
  "hsl": {
    "h": 0.769,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32062,
    "c": 0.10977,
    "h": 26.5
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#5F1211
secondary
#349698
accent
#EAEC3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1211

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

Preview Lab → · Contrast checker → · Palette generator →

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