#5C0F18#5C0F18

#5C0F18 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.3% C 0.108 H 20.4°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#5C0F18
RGBrgb(92, 15, 24)
HSLhsl(353, 72%, 21%)
HSVhsv(353, 84%, 36%)
CMYKcmyk(0%, 83.7%, 73.9%, 63.9%)
CIE-LABlab(18.73, 34.47, 16.23)
CIE-LCHlch(18.73, 38.10, 25.21°)
OKLaboklab(31.28% 0.1016 0.0379)
OKLCHoklch(31.28% 0.108 20.4)
XYZxyz(4.7499, 2.6836, 1.1319)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F18 #0F5C53
analogous
#5C0F3E #5C0F18 #5C2C0F
triadic
#5C0F18 #185C0F #0F185C
tetradic
#5C0F18 #3E5C0F #0F5C53 #2C0F5C
square
#5C0F18 #3E5C0F #0F5C53 #2C0F5C
split-complementary
#5C0F18 #0F5C2C #0F3E5C
monochromatic
#1A0407 #27060A #5C0F18 #911826 #C52033

Accessibility & contrast

On white

13.67
#5C0F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5C0F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C0F18
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F18#FFFFFF#000000##FFFFFF
##5C0F181.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#660013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f18;
/* rgb */ color: rgb(92, 15, 24);
/* oklch */ color: oklch(31.3% 0.108 20.4);
Tailwind
colors: {
  custom: {
    50: '#905654',
    500: '#5c0f18',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f18;
$custom-light: #905654;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f18",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 24
  },
  "hsl": {
    "h": 352.987,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31282,
    "c": 0.10845,
    "h": 20.4
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#5C0F18
secondary
#31958A
accent
#EFD939
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C0F18

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

Preview Lab → · Contrast checker → · Palette generator →

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