#5F111D#5F111D

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

Color values

HEX#5F111D
RGBrgb(95, 17, 29)
HSLhsl(351, 70%, 22%)
HSVhsv(351, 82%, 37%)
CMYKcmyk(0%, 82.1%, 69.5%, 62.7%)
CIE-LABlab(19.73, 35.08, 14.14)
CIE-LCHlch(19.73, 37.82, 21.96°)
OKLaboklab(32.17% 0.1043 0.0338)
OKLCHoklch(32.17% 0.11 17.9)
XYZxyz(5.1421, 2.9233, 1.4557)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F111D #115F53
analogous
#5F1144 #5F111D #5F2C11
triadic
#5F111D #1D5F11 #111D5F
tetradic
#5F111D #445F11 #115F53 #2C115F
square
#5F111D #445F11 #115F53 #2C115F
split-complementary
#5F111D #115F2C #11445F
monochromatic
#1A0508 #2B080D #5F111D #931A2D #C7243D

Accessibility & contrast

On white

13.25
#5F111D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F111D
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F111D#FFFFFF#000000##FFFFFF
##5F111D1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251D
Deuteranopia (green-blind)
#3B361B
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f111d;
/* rgb */ color: rgb(95, 17, 29);
/* oklch */ color: oklch(32.2% 0.110 17.9);
Tailwind
colors: {
  custom: {
    50: '#925758',
    500: '#5f111d',
    950: '#000000',
  },
}
SCSS
$custom: #5f111d;
$custom-light: #925758;
$custom-dark: #000000;
JSON
{
  "hex": "#5f111d",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 29
  },
  "hsl": {
    "h": 350.769,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.10965,
    "h": 17.9
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#5F111D
secondary
#349888
accent
#ECD13B
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F111D

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

Preview Lab → · Contrast checker → · Palette generator →

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