#5C0F1C#5C0F1C

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

Color values

HEX#5C0F1C
RGBrgb(92, 15, 28)
HSLhsl(350, 72%, 21%)
HSVhsv(350, 84%, 36%)
CMYKcmyk(0%, 83.7%, 69.6%, 63.9%)
CIE-LABlab(18.81, 34.72, 13.52)
CIE-LCHlch(18.81, 37.26, 21.28°)
OKLaboklab(31.36% 0.1034 0.0323)
OKLCHoklch(31.36% 0.108 17.4)
XYZxyz(4.7946, 2.7015, 1.3674)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F1C #0F5C4F
analogous
#5C0F42 #5C0F1C #5C280F
triadic
#5C0F1C #1C5C0F #0F1C5C
tetradic
#5C0F1C #425C0F #0F5C4F #280F5C
square
#5C0F1C #425C0F #0F5C4F #280F5C
split-complementary
#5C0F1C #0F5C28 #0F425C
monochromatic
#1A0408 #27060C #5C0F1C #91182C #C5203C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C0F1C#FFFFFF#000000##FFFFFF
##5C0F1C1.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)
#26231C
Deuteranopia (green-blind)
#39341A
Tritanopia (blue-blind)
#660015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f1c;
/* rgb */ color: rgb(92, 15, 28);
/* oklch */ color: oklch(31.4% 0.108 17.4);
Tailwind
colors: {
  custom: {
    50: '#905657',
    500: '#5c0f1c',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f1c;
$custom-light: #905657;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f1c",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 28
  },
  "hsl": {
    "h": 349.87,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31363,
    "c": 0.10833,
    "h": 17.4
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#5C0F1C
secondary
#319585
accent
#EFD039
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C0F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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