#501212#501212

#501212 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.1% C 0.092 H 25.0°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#501212
RGBrgb(80, 18, 18)
HSLhsl(0, 63%, 19%)
HSVhsv(0, 78%, 31%)
CMYKcmyk(0%, 77.5%, 77.5%, 68.6%)
CIE-LABlab(16.42, 28.72, 16.83)
CIE-LCHlch(16.42, 33.29, 30.37°)
OKLaboklab(29.05% 0.0836 0.039)
OKLCHoklch(29.05% 0.092 25)
XYZxyz(3.6342, 2.1823, 0.8020)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501212 #125050
analogous
#501231 #501212 #503112
triadic
#501212 #125012 #121250
tetradic
#501212 #315012 #125050 #311250
square
#501212 #315012 #125050 #311250
split-complementary
#501212 #125031 #123150
monochromatic
#190606 #1E0707 #501212 #821D1D #B42828

Accessibility & contrast

On white

14.62
#501212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#501212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501212
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501212#FFFFFF#000000##FFFFFF
##5012121.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242011
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#590113
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501212;
/* rgb */ color: rgb(80, 18, 18);
/* oklch */ color: oklch(29.1% 0.092 25.0);
Tailwind
colors: {
  custom: {
    50: '#87554f',
    500: '#501212',
    950: '#000000',
  },
}
SCSS
$custom: #501212;
$custom-light: #87554f;
$custom-dark: #000000;
JSON
{
  "hex": "#501212",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29053,
    "c": 0.09228,
    "h": 25
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#501212
secondary
#358989
accent
#E6E641
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501212

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

Preview Lab → · Contrast checker → · Palette generator →

#501212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva