#5C0F13#5C0F13

#5C0F13 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.2% C 0.109 H 23.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#5C0F13
RGBrgb(92, 15, 19)
HSLhsl(357, 72%, 21%)
HSVhsv(357, 84%, 36%)
CMYKcmyk(0%, 83.7%, 79.3%, 63.9%)
CIE-LABlab(18.65, 34.21, 19.53)
CIE-LCHlch(18.65, 39.39, 29.71°)
OKLaboklab(31.2% 0.0995 0.0441)
OKLCHoklch(31.2% 0.109 23.9)
XYZxyz(4.7026, 2.6647, 0.8827)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F13 #0F5C58
analogous
#5C0F39 #5C0F13 #5C310F
triadic
#5C0F13 #135C0F #0F135C
tetradic
#5C0F13 #395C0F #0F5C58 #310F5C
square
#5C0F13 #395C0F #0F5C58 #310F5C
split-complementary
#5C0F13 #0F5C31 #0F395C
monochromatic
#1A0405 #270608 #5C0F13 #91181E #C52029

Accessibility & contrast

On white

13.70
#5C0F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5C0F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F13
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F13#FFFFFF#000000##FFFFFF
##5C0F131.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272312
Deuteranopia (green-blind)
#3A3310
Tritanopia (blue-blind)
#660011
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5c0f13;
/* rgb */ color: rgb(92, 15, 19);
/* oklch */ color: oklch(31.2% 0.109 23.9);
Tailwind
colors: {
  custom: {
    50: '#915650',
    500: '#5c0f13',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f13;
$custom-light: #915650;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f13",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 19
  },
  "hsl": {
    "h": 356.883,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31195,
    "c": 0.10888,
    "h": 23.9
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#5C0F13
secondary
#319590
accent
#EFE539
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C0F13

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

Preview Lab → · Contrast checker → · Palette generator →

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