#50120C#50120C

#50120C is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.0% C 0.093 H 29.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#50120C
RGBrgb(80, 18, 12)
HSLhsl(5, 74%, 18%)
HSVhsv(5, 85%, 31%)
CMYKcmyk(0%, 77.5%, 85%, 68.6%)
CIE-LABlab(16.33, 28.42, 19.91)
CIE-LCHlch(16.33, 34.70, 35.01°)
OKLaboklab(28.96% 0.0812 0.0459)
OKLCHoklch(28.96% 0.093 29.5)
XYZxyz(3.5913, 2.1652, 0.5766)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50120C #0C4A50
analogous
#500C28 #50120C #50340C
triadic
#50120C #0C5012 #120C50
tetradic
#50120C #28500C #0C4A50 #340C50
square
#50120C #28500C #0C4A50 #340C50
split-complementary
#50120C #0C5034 #0C2850
monochromatic
#1B0604 #1B0604 #50120C #851E14 #BA2A1C

Accessibility & contrast

On white

14.65
#50120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#50120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50120C
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50120C#FFFFFF#000000##FFFFFF
##50120C1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200B
Deuteranopia (green-blind)
#342D09
Tritanopia (blue-blind)
#590011
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #50120c;
/* rgb */ color: rgb(80, 18, 12);
/* oklch */ color: oklch(29.0% 0.093 29.5);
Tailwind
colors: {
  custom: {
    50: '#87554c',
    500: '#50120c',
    950: '#000000',
  },
}
SCSS
$custom: #50120c;
$custom-light: #87554c;
$custom-dark: #000000;
JSON
{
  "hex": "#50120c",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 5.294,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28962,
    "c": 0.0933,
    "h": 29.5
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#50120C
secondary
#2C838B
accent
#E0F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #50120C

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

Preview Lab → · Contrast checker → · Palette generator →

#50120C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva