#502017#502017

#502017 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.2% C 0.075 H 32.3°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#502017
RGBrgb(80, 32, 23)
HSLhsl(9, 55%, 20%)
HSVhsv(9, 71%, 31%)
CMYKcmyk(0%, 60%, 71.2%, 68.6%)
CIE-LABlab(19.23, 21.78, 16.97)
CIE-LCHlch(19.23, 27.61, 37.92°)
OKLaboklab(31.2% 0.063 0.0399)
OKLCHoklch(31.2% 0.075 32.3)
XYZxyz(3.9798, 2.8009, 1.1415)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502017 #174750
analogous
#50172A #502017 #503D17
triadic
#502017 #175020 #201750
tetradic
#502017 #2A5017 #174750 #3D1750
square
#502017 #2A5017 #174750 #3D1750
split-complementary
#502017 #17503D #172A50
monochromatic
#180A07 #200D09 #502017 #803325 #AF4632

Accessibility & contrast

On white

13.46
#502017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #502017
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502017#FFFFFF#000000##FFFFFF
##5020171.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#383316
Tritanopia (blue-blind)
#58171E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #502017;
/* rgb */ color: rgb(80, 32, 23);
/* oklch */ color: oklch(31.2% 0.075 32.3);
Tailwind
colors: {
  custom: {
    50: '#855d54',
    500: '#502017',
    950: '#000000',
  },
}
SCSS
$custom: #502017;
$custom-light: #855d54;
$custom-dark: #000000;
JSON
{
  "hex": "#502017",
  "rgb": {
    "r": 80,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 9.474,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31195,
    "c": 0.07458,
    "h": 32.3
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#502017
secondary
#3C7B87
accent
#C7DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #502017

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

Preview Lab → · Contrast checker → · Palette generator →

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