#5C0F14#5C0F14

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

Color values

HEX#5C0F14
RGBrgb(92, 15, 20)
HSLhsl(356, 72%, 21%)
HSVhsv(356, 84%, 36%)
CMYKcmyk(0%, 83.7%, 78.3%, 63.9%)
CIE-LABlab(18.66, 34.26, 18.90)
CIE-LCHlch(18.66, 39.13, 28.88°)
OKLaboklab(31.21% 0.1 0.0429)
OKLCHoklch(31.21% 0.109 23.2)
XYZxyz(4.7113, 2.6682, 0.9286)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F14 #0F5C57
analogous
#5C0F3A #5C0F14 #5C300F
triadic
#5C0F14 #145C0F #0F145C
tetradic
#5C0F14 #3A5C0F #0F5C57 #300F5C
square
#5C0F14 #3A5C0F #0F5C57 #300F5C
split-complementary
#5C0F14 #0F5C30 #0F3A5C
monochromatic
#1A0406 #270609 #5C0F14 #91181F #C5202B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C0F14#FFFFFF#000000##FFFFFF
##5C0F141.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)
#272313
Deuteranopia (green-blind)
#3A3311
Tritanopia (blue-blind)
#660012
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5c0f14;
/* rgb */ color: rgb(92, 15, 20);
/* oklch */ color: oklch(31.2% 0.109 23.2);
Tailwind
colors: {
  custom: {
    50: '#915651',
    500: '#5c0f14',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f14;
$custom-light: #915651;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f14",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 20
  },
  "hsl": {
    "h": 356.104,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.10878,
    "h": 23.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#5C0F14
secondary
#31958F
accent
#EFE339
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C0F14

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

Preview Lab → · Contrast checker → · Palette generator →

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