#5C0F1E#5C0F1E

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

Color values

HEX#5C0F1E
RGBrgb(92, 15, 30)
HSLhsl(348, 72%, 21%)
HSVhsv(348, 84%, 36%)
CMYKcmyk(0%, 83.7%, 67.4%, 63.9%)
CIE-LABlab(18.85, 34.85, 12.17)
CIE-LCHlch(18.85, 36.91, 19.24°)
OKLaboklab(31.41% 0.1043 0.0295)
OKLCHoklch(31.41% 0.108 15.8)
XYZxyz(4.8193, 2.7114, 1.4976)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C0F1E #0F5C4D
analogous
#5C0F44 #5C0F1E #5C260F
triadic
#5C0F1E #1E5C0F #0F1E5C
tetradic
#5C0F1E #445C0F #0F5C4D #260F5C
square
#5C0F1E #445C0F #0F5C4D #260F5C
split-complementary
#5C0F1E #0F5C26 #0F445C
monochromatic
#1A0409 #27060D #5C0F1E #91182F #C52040

Accessibility & contrast

On white

13.62
#5C0F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C0F1E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C0F1E#FFFFFF#000000##FFFFFF
##5C0F1E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c0f1e;
/* rgb */ color: rgb(92, 15, 30);
/* oklch */ color: oklch(31.4% 0.108 15.8);
Tailwind
colors: {
  custom: {
    50: '#905659',
    500: '#5c0f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5c0f1e;
$custom-light: #905659;
$custom-dark: #000000;
JSON
{
  "hex": "#5c0f1e",
  "rgb": {
    "r": 92,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 348.312,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31409,
    "c": 0.10836,
    "h": 15.8
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#5C0F1E
secondary
#319582
accent
#EFCB39
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C0F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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