#5F1822#5F1822

#5F1822 is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 16.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F1822
RGBrgb(95, 24, 34)
HSLhsl(352, 60%, 23%)
HSVhsv(352, 75%, 37%)
CMYKcmyk(0%, 74.7%, 64.2%, 62.7%)
CIE-LABlab(20.84, 32.66, 12.09)
CIE-LCHlch(20.84, 34.83, 20.32°)
OKLaboklab(33.03% 0.0977 0.0296)
OKLCHoklch(33.03% 0.102 16.8)
XYZxyz(5.3352, 3.2024, 1.8503)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1822 #185F55
analogous
#5F1845 #5F1822 #5F3118
triadic
#5F1822 #225F18 #18225F
tetradic
#5F1822 #455F18 #185F55 #31185F
square
#5F1822 #455F18 #185F55 #31185F
split-complementary
#5F1822 #185F31 #18455F
monochromatic
#180609 #2E0C11 #5F1822 #902433 #C13145

Accessibility & contrast

On white

12.80
#5F1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1822
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1822#FFFFFF#000000##FFFFFF
##5F18221.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2922
Deuteranopia (green-blind)
#3D3820
Tritanopia (blue-blind)
#69061C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1822;
/* rgb */ color: rgb(95, 24, 34);
/* oklch */ color: oklch(33.0% 0.102 16.8);
Tailwind
colors: {
  custom: {
    50: '#925b5c',
    500: '#5f1822',
    950: '#000000',
  },
}
SCSS
$custom: #5f1822;
$custom-light: #925b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1822",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 351.549,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33029,
    "c": 0.10205,
    "h": 16.8
  },
  "luminance": 0.03202
}

Semantic roles & 50–950 ramp

primary
#5F1822
secondary
#3D9589
accent
#E3CD45
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1822

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

Preview Lab → · Contrast checker → · Palette generator →

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