#5C0F1D#5C0F1D

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

Color values

HEX#5C0F1D
RGBrgb(92, 15, 29)
HSLhsl(349, 72%, 21%)
HSVhsv(349, 84%, 36%)
CMYKcmyk(0%, 83.7%, 68.5%, 63.9%)
CIE-LABlab(18.83, 34.78, 12.85)
CIE-LCHlch(18.83, 37.08, 20.27°)
OKLaboklab(31.39% 0.1038 0.0309)
OKLCHoklch(31.39% 0.108 16.6)
XYZxyz(4.8067, 2.7064, 1.4314)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F1D #0F5C4E
analogous
#5C0F43 #5C0F1D #5C270F
triadic
#5C0F1D #1D5C0F #0F1D5C
tetradic
#5C0F1D #435C0F #0F5C4E #270F5C
square
#5C0F1D #435C0F #0F5C4E #270F5C
split-complementary
#5C0F1D #0F5C27 #0F435C
monochromatic
#1A0408 #27060C #5C0F1D #91182E #C5203E

Accessibility & contrast

On white

13.63
#5C0F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F1D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F1D#FFFFFF#000000##FFFFFF
##5C0F1D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241D
Deuteranopia (green-blind)
#39341B
Tritanopia (blue-blind)
#660015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f1d;
/* rgb */ color: rgb(92, 15, 29);
/* oklch */ color: oklch(31.4% 0.108 16.6);
Tailwind
colors: {
  custom: {
    50: '#905658',
    500: '#5c0f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f1d;
$custom-light: #905658;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f1d",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 29
  },
  "hsl": {
    "h": 349.091,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31386,
    "c": 0.10833,
    "h": 16.6
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#5C0F1D
secondary
#319583
accent
#EFCE39
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C0F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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