#5F1326#5F1326

#5F1326 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.6% C 0.108 H 11.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5F1326
RGBrgb(95, 19, 38)
HSLhsl(345, 67%, 22%)
HSVhsv(345, 80%, 37%)
CMYKcmyk(0%, 80%, 60%, 62.7%)
CIE-LABlab(20.20, 35.01, 8.43)
CIE-LCHlch(20.20, 36.02, 13.54°)
OKLaboklab(32.59% 0.106 0.0212)
OKLCHoklch(32.59% 0.108 11.3)
XYZxyz(5.3025, 3.0393, 2.1408)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1326 #135F4C
analogous
#5F134C #5F1326 #5F2613
triadic
#5F1326 #265F13 #13265F
tetradic
#5F1326 #4C5F13 #135F4C #26135F
square
#5F1326 #4C5F13 #135F4C #26135F
split-complementary
#5F1326 #135F26 #134C5F
monochromatic
#1A050A #2C0912 #5F1326 #921D3A #C5274F

Accessibility & contrast

On white

13.06
#5F1326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1326
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1326#FFFFFF#000000##FFFFFF
##5F13261.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272726
Deuteranopia (green-blind)
#3B3624
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1326;
/* rgb */ color: rgb(95, 19, 38);
/* oklch */ color: oklch(32.6% 0.108 11.3);
Tailwind
colors: {
  custom: {
    50: '#915860',
    500: '#5f1326',
    950: '#000000',
  },
}
SCSS
$custom: #5f1326;
$custom-light: #915860;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1326",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 38
  },
  "hsl": {
    "h": 345,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.10805,
    "h": 11.3
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#5F1326
secondary
#37977F
accent
#EABF3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0404
muted
#7E7979

Preview Lab

Preview with #5F1326

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

Preview Lab → · Contrast checker → · Palette generator →

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