#5C120F#5C120F

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

Color values

HEX#5C120F
RGBrgb(92, 18, 15)
HSLhsl(2, 72%, 21%)
HSVhsv(2, 84%, 36%)
CMYKcmyk(0%, 80.4%, 83.7%, 63.9%)
CIE-LABlab(18.98, 32.94, 22.25)
CIE-LCHlch(18.98, 39.75, 34.03°)
OKLaboklab(31.43% 0.0946 0.0495)
OKLCHoklch(31.43% 0.107 27.6)
XYZxyz(4.7167, 2.7432, 0.7330)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C120F #0F595C
analogous
#5C0F32 #5C120F #5C380F
triadic
#5C120F #0F5C12 #120F5C
tetradic
#5C120F #325C0F #0F595C #380F5C
square
#5C120F #325C0F #0F595C #380F5C
split-complementary
#5C120F #0F5C38 #0F325C
monochromatic
#1A0504 #270806 #5C120F #911C18 #C52720

Accessibility & contrast

On white

13.56
#5C120F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C120F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C120F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C120F#FFFFFF#000000##FFFFFF
##5C120F1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28240E
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#660012
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c120f;
/* rgb */ color: rgb(92, 18, 15);
/* oklch */ color: oklch(31.4% 0.107 27.6);
Tailwind
colors: {
  custom: {
    50: '#91574e',
    500: '#5c120f',
    950: '#000000',
  },
}
SCSS
$custom: #5c120f;
$custom-light: #91574e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c120f",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 15
  },
  "hsl": {
    "h": 2.338,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31428,
    "c": 0.10671,
    "h": 27.6
  },
  "luminance": 0.02742
}

Semantic roles & 50–950 ramp

primary
#5C120F
secondary
#319295
accent
#E8EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5C120F

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

Preview Lab → · Contrast checker → · Palette generator →

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