#5F1119#5F1119

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

Color values

HEX#5F1119
RGBrgb(95, 17, 25)
HSLhsl(354, 70%, 22%)
HSVhsv(354, 82%, 37%)
CMYKcmyk(0%, 82.1%, 73.7%, 62.7%)
CIE-LABlab(19.66, 34.84, 16.83)
CIE-LCHlch(19.66, 38.69, 25.78°)
OKLaboklab(32.1% 0.1026 0.0392)
OKLCHoklch(32.1% 0.11 20.9)
XYZxyz(5.0958, 2.9048, 1.2119)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1119 #115F57
analogous
#5F1140 #5F1119 #5F3011
triadic
#5F1119 #195F11 #11195F
tetradic
#5F1119 #405F11 #115F57 #30115F
square
#5F1119 #405F11 #115F57 #30115F
split-complementary
#5F1119 #115F30 #11405F
monochromatic
#1A0507 #2B080B #5F1119 #931A27 #C72434

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1119#FFFFFF#000000##FFFFFF
##5F11191.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)
#282519
Deuteranopia (green-blind)
#3C3617
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1119;
/* rgb */ color: rgb(95, 17, 25);
/* oklch */ color: oklch(32.1% 0.110 20.9);
Tailwind
colors: {
  custom: {
    50: '#935755',
    500: '#5f1119',
    950: '#000000',
  },
}
SCSS
$custom: #5f1119;
$custom-light: #935755;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1119",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 25
  },
  "hsl": {
    "h": 353.846,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32095,
    "c": 0.10981,
    "h": 20.9
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#5F1119
secondary
#34988D
accent
#ECDA3B
background
#F9F5F4
surface
#F2E9E8
border
#CCC5C4
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F1119

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

Preview Lab → · Contrast checker → · Palette generator →

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