#5F111A#5F111A

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

Color values

HEX#5F111A
RGBrgb(95, 17, 26)
HSLhsl(353, 70%, 22%)
HSVhsv(353, 82%, 37%)
CMYKcmyk(0%, 82.1%, 72.6%, 62.7%)
CIE-LABlab(19.68, 34.89, 16.16)
CIE-LCHlch(19.68, 38.45, 24.85°)
OKLaboklab(32.11% 0.103 0.0379)
OKLCHoklch(32.11% 0.11 20.2)
XYZxyz(5.1068, 2.9092, 1.2697)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F111A #115F56
analogous
#5F1141 #5F111A #5F2F11
triadic
#5F111A #1A5F11 #111A5F
tetradic
#5F111A #415F11 #115F56 #2F115F
square
#5F111A #415F11 #115F56 #2F115F
split-complementary
#5F111A #115F2F #11415F
monochromatic
#1A0507 #2B080C #5F111A #931A28 #C72436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F111A#FFFFFF#000000##FFFFFF
##5F111A1.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)
#28251A
Deuteranopia (green-blind)
#3C3618
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f111a;
/* rgb */ color: rgb(95, 17, 26);
/* oklch */ color: oklch(32.1% 0.110 20.2);
Tailwind
colors: {
  custom: {
    50: '#935756',
    500: '#5f111a',
    950: '#000000',
  },
}
SCSS
$custom: #5f111a;
$custom-light: #935756;
$custom-dark: #000000;
JSON
{
  "hex": "#5f111a",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 26
  },
  "hsl": {
    "h": 353.077,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.10975,
    "h": 20.2
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#5F111A
secondary
#34988C
accent
#ECD83B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F111A

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

Preview Lab → · Contrast checker → · Palette generator →

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