#502012#502012

#502012 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.1% C 0.076 H 37.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#502012
RGBrgb(80, 32, 18)
HSLhsl(14, 63%, 19%)
HSVhsv(14, 78%, 31%)
CMYKcmyk(0%, 60%, 77.5%, 68.6%)
CIE-LABlab(19.15, 21.44, 20.12)
CIE-LCHlch(19.15, 29.40, 43.17°)
OKLaboklab(31.11% 0.0609 0.0459)
OKLCHoklch(31.11% 0.076 37)
XYZxyz(3.9343, 2.7827, 0.9021)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502012 #124250
analogous
#501223 #502012 #503F12
triadic
#502012 #125020 #201250
tetradic
#502012 #235012 #124250 #3F1250
square
#502012 #235012 #124250 #3F1250
split-complementary
#502012 #12503F #122350
monochromatic
#190A06 #1E0C07 #502012 #82341D #B44828

Accessibility & contrast

On white

13.49
#502012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#502012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502012
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502012#FFFFFF#000000##FFFFFF
##5020121.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#393211
Tritanopia (blue-blind)
#58161D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #502012;
/* rgb */ color: rgb(80, 32, 18);
/* oklch */ color: oklch(31.1% 0.076 37.0);
Tailwind
colors: {
  custom: {
    50: '#865d50',
    500: '#502012',
    950: '#000000',
  },
}
SCSS
$custom: #502012;
$custom-light: #865d50;
$custom-dark: #000000;
JSON
{
  "hex": "#502012",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 13.548,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.07626,
    "h": 37
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#502012
secondary
#357689
accent
#C1E641
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #502012

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

Preview Lab → · Contrast checker → · Palette generator →

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