#5C121C#5C121C

#5C121C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.6% C 0.105 H 18.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#5C121C
RGBrgb(92, 18, 28)
HSLhsl(352, 67%, 22%)
HSVhsv(352, 80%, 36%)
CMYKcmyk(0%, 80.4%, 69.6%, 63.9%)
CIE-LABlab(19.19, 33.63, 14.02)
CIE-LCHlch(19.19, 36.44, 22.63°)
OKLaboklab(31.65% 0.0999 0.0335)
OKLCHoklch(31.65% 0.105 18.5)
XYZxyz(4.8401, 2.7925, 1.3825)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121C #125C52
analogous
#5C1241 #5C121C #5C2D12
triadic
#5C121C #1C5C12 #121C5C
tetradic
#5C121C #415C12 #125C52 #2D125C
square
#5C121C #415C12 #125C52 #2D125C
split-complementary
#5C121C #125C2D #12415C
monochromatic
#1A0508 #29080C #5C121C #8F1C2C #C2263B

Accessibility & contrast

On white

13.48
#5C121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C121C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C121C#FFFFFF#000000##FFFFFF
##5C121C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251C
Deuteranopia (green-blind)
#3A341A
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c121c;
/* rgb */ color: rgb(92, 18, 28);
/* oklch */ color: oklch(31.6% 0.105 18.5);
Tailwind
colors: {
  custom: {
    50: '#905757',
    500: '#5c121c',
    950: '#000000',
  },
}
SCSS
$custom: #5c121c;
$custom-light: #905757;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121c",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 351.892,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3165,
    "c": 0.10537,
    "h": 18.5
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#5C121C
secondary
#359488
accent
#EAD33E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C121C

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

Preview Lab → · Contrast checker → · Palette generator →

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