#5C0F1F#5C0F1F

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

Color values

HEX#5C0F1F
RGBrgb(92, 15, 31)
HSLhsl(348, 72%, 21%)
HSVhsv(348, 84%, 36%)
CMYKcmyk(0%, 83.7%, 66.3%, 63.9%)
CIE-LABlab(18.87, 34.92, 11.48)
CIE-LCHlch(18.87, 36.76, 18.20°)
OKLaboklab(31.43% 0.1047 0.028)
OKLCHoklch(31.43% 0.108 15)
XYZxyz(4.8323, 2.7166, 1.5660)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F1F #0F5C4C
analogous
#5C0F45 #5C0F1F #5C250F
triadic
#5C0F1F #1F5C0F #0F1F5C
tetradic
#5C0F1F #455C0F #0F5C4C #250F5C
square
#5C0F1F #455C0F #0F5C4C #250F5C
split-complementary
#5C0F1F #0F5C25 #0F455C
monochromatic
#1A0409 #27060D #5C0F1F #911831 #C52042

Accessibility & contrast

On white

13.61
#5C0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F1F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F1F#FFFFFF#000000##FFFFFF
##5C0F1F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0f1f;
/* rgb */ color: rgb(92, 15, 31);
/* oklch */ color: oklch(31.4% 0.108 15.0);
Tailwind
colors: {
  custom: {
    50: '#90565a',
    500: '#5c0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f1f;
$custom-light: #90565a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f1f",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 347.532,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.10839,
    "h": 15
  },
  "luminance": 0.02716
}

Semantic roles & 50–950 ramp

primary
#5C0F1F
secondary
#319581
accent
#EFC939
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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