#5C0F1B#5C0F1B

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

Color values

HEX#5C0F1B
RGBrgb(92, 15, 27)
HSLhsl(351, 72%, 21%)
HSVhsv(351, 84%, 36%)
CMYKcmyk(0%, 83.7%, 70.7%, 63.9%)
CIE-LABlab(18.79, 34.65, 14.20)
CIE-LCHlch(18.79, 37.45, 22.28°)
OKLaboklab(31.34% 0.1029 0.0338)
OKLCHoklch(31.34% 0.108 18.2)
XYZxyz(4.7828, 2.6968, 1.3054)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F1B #0F5C50
analogous
#5C0F41 #5C0F1B #5C290F
triadic
#5C0F1B #1B5C0F #0F1B5C
tetradic
#5C0F1B #415C0F #0F5C50 #290F5C
square
#5C0F1B #415C0F #0F5C50 #290F5C
split-complementary
#5C0F1B #0F5C29 #0F415C
monochromatic
#1A0408 #27060C #5C0F1B #91182A #C5203A

Accessibility & contrast

On white

13.64
#5C0F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F1B
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F1B#FFFFFF#000000##FFFFFF
##5C0F1B1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#393319
Tritanopia (blue-blind)
#660014
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c0f1b;
/* rgb */ color: rgb(92, 15, 27);
/* oklch */ color: oklch(31.3% 0.108 18.2);
Tailwind
colors: {
  custom: {
    50: '#905657',
    500: '#5c0f1b',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f1b;
$custom-light: #905657;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f1b",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 27
  },
  "hsl": {
    "h": 350.649,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31342,
    "c": 0.10833,
    "h": 18.2
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#5C0F1B
secondary
#319586
accent
#EFD239
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C0F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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