#502117#502117

#502117 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.4% C 0.073 H 33.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#502117
RGBrgb(80, 33, 23)
HSLhsl(11, 55%, 20%)
HSVhsv(11, 71%, 31%)
CMYKcmyk(0%, 58.8%, 71.2%, 68.6%)
CIE-LABlab(19.46, 21.19, 17.24)
CIE-LCHlch(19.46, 27.32, 39.13°)
OKLaboklab(31.37% 0.0612 0.0405)
OKLCHoklch(31.37% 0.073 33.5)
XYZxyz(4.0071, 2.8555, 1.1506)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#502117 #174650
analogous
#50172A #502117 #503D17
triadic
#502117 #175021 #211750
tetradic
#502117 #2A5017 #174650 #3D1750
square
#502117 #2A5017 #174650 #3D1750
split-complementary
#502117 #17503D #172A50
monochromatic
#180A07 #200D09 #502117 #803525 #AF4832

Accessibility & contrast

On white

13.37
#502117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#502117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #502117
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##502117#FFFFFF#000000##FFFFFF
##5021171.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2916
Deuteranopia (green-blind)
#393316
Tritanopia (blue-blind)
#58181F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #502117;
/* rgb */ color: rgb(80, 33, 23);
/* oklch */ color: oklch(31.4% 0.073 33.5);
Tailwind
colors: {
  custom: {
    50: '#855e54',
    500: '#502117',
    950: '#000000',
  },
}
SCSS
$custom: #502117;
$custom-light: #855e54;
$custom-dark: #000000;
JSON
{
  "hex": "#502117",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 10.526,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31368,
    "c": 0.07339,
    "h": 33.5
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#502117
secondary
#3C7A87
accent
#C4DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #502117

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

Preview Lab → · Contrast checker → · Palette generator →

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