#5F0F1A#5F0F1A

#5F0F1A is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 19.5°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#5F0F1A
RGBrgb(95, 15, 26)
HSLhsl(352, 73%, 22%)
HSVhsv(352, 84%, 37%)
CMYKcmyk(0%, 84.2%, 72.6%, 62.7%)
CIE-LABlab(19.43, 35.58, 15.86)
CIE-LCHlch(19.43, 38.95, 24.02°)
OKLaboklab(31.93% 0.1052 0.0372)
OKLCHoklch(31.93% 0.112 19.5)
XYZxyz(5.0772, 2.8499, 1.2598)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F1A #0F5F54
analogous
#5F0F42 #5F0F1A #5F2C0F
triadic
#5F0F1A #1A5F0F #0F1A5F
tetradic
#5F0F1A #425F0F #0F5F54 #2C0F5F
square
#5F0F1A #425F0F #0F5F54 #2C0F5F
split-complementary
#5F0F1A #0F5F2C #0F425F
monochromatic
#1A0407 #2A070C #5F0F1A #941728 #C92037

Accessibility & contrast

On white

13.38
#5F0F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0F1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F1A
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F1A#FFFFFF#000000##FFFFFF
##5F0F1A1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27241A
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0f1a;
/* rgb */ color: rgb(95, 15, 26);
/* oklch */ color: oklch(31.9% 0.112 19.5);
Tailwind
colors: {
  custom: {
    50: '#935656',
    500: '#5f0f1a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f1a;
$custom-light: #935656;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f1a",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 351.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31933,
    "c": 0.11159,
    "h": 19.5
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#5F0F1A
secondary
#32988A
accent
#EFD638
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5F0F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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