#5F1224#5F1224

#5F1224 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 12.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#5F1224
RGBrgb(95, 18, 36)
HSLhsl(346, 68%, 22%)
HSVhsv(346, 81%, 37%)
CMYKcmyk(0%, 81.1%, 62.1%, 62.7%)
CIE-LABlab(20.02, 35.22, 9.60)
CIE-LCHlch(20.02, 36.51, 15.24°)
OKLaboklab(32.44% 0.1063 0.0238)
OKLCHoklch(32.44% 0.109 12.6)
XYZxyz(5.2546, 2.9936, 1.9699)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1224 #125F4D
analogous
#5F124B #5F1224 #5F2712
triadic
#5F1224 #245F12 #12245F
tetradic
#5F1224 #4B5F12 #125F4D #27125F
square
#5F1224 #4B5F12 #125F4D #27125F
split-complementary
#5F1224 #125F27 #124B5F
monochromatic
#1A050A #2C0811 #5F1224 #921C37 #C6254B

Accessibility & contrast

On white

13.14
#5F1224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F1224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1224
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1224#FFFFFF#000000##FFFFFF
##5F12241.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272624
Deuteranopia (green-blind)
#3B3622
Tritanopia (blue-blind)
#69001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1224;
/* rgb */ color: rgb(95, 18, 36);
/* oklch */ color: oklch(32.4% 0.109 12.6);
Tailwind
colors: {
  custom: {
    50: '#92585e',
    500: '#5f1224',
    950: '#000000',
  },
}
SCSS
$custom: #5f1224;
$custom-light: #92585e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1224",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 345.974,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32436,
    "c": 0.10891,
    "h": 12.6
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#5F1224
secondary
#369780
accent
#EBC23D
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1224

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

Preview Lab → · Contrast checker → · Palette generator →

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