#5C0F12#5C0F12

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

Color values

HEX#5C0F12
RGBrgb(92, 15, 18)
HSLhsl(358, 72%, 21%)
HSVhsv(358, 84%, 36%)
CMYKcmyk(0%, 83.7%, 80.4%, 63.9%)
CIE-LABlab(18.63, 34.17, 20.13)
CIE-LCHlch(18.63, 39.65, 30.51°)
OKLaboklab(31.18% 0.0991 0.0453)
OKLCHoklch(31.18% 0.109 24.5)
XYZxyz(4.6942, 2.6614, 0.8387)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F12 #0F5C59
analogous
#5C0F38 #5C0F12 #5C320F
triadic
#5C0F12 #125C0F #0F125C
tetradic
#5C0F12 #385C0F #0F5C59 #320F5C
square
#5C0F12 #385C0F #0F5C59 #320F5C
split-complementary
#5C0F12 #0F5C32 #0F385C
monochromatic
#1A0405 #270608 #5C0F12 #91181C #C52027

Accessibility & contrast

On white

13.71
#5C0F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F12
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F12#FFFFFF#000000##FFFFFF
##5C0F121.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0f12;
/* rgb */ color: rgb(92, 15, 18);
/* oklch */ color: oklch(31.2% 0.109 24.5);
Tailwind
colors: {
  custom: {
    50: '#915650',
    500: '#5c0f12',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f12;
$custom-light: #915650;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f12",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 357.662,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31179,
    "c": 0.10899,
    "h": 24.5
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#5C0F12
secondary
#319592
accent
#EFE839
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C0F12

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

Preview Lab → · Contrast checker → · Palette generator →

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