#501217#501217

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

Color values

HEX#501217
RGBrgb(80, 18, 23)
HSLhsl(355, 63%, 19%)
HSVhsv(355, 78%, 31%)
CMYKcmyk(0%, 77.5%, 71.2%, 68.6%)
CIE-LABlab(16.51, 29.03, 13.59)
CIE-LCHlch(16.51, 32.06, 25.09°)
OKLaboklab(29.15% 0.0858 0.0323)
OKLCHoklch(29.15% 0.092 20.6)
XYZxyz(3.6796, 2.2005, 1.0414)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501217 #12504B
analogous
#501236 #501217 #502C12
triadic
#501217 #175012 #121750
tetradic
#501217 #365012 #12504B #2C1250
square
#501217 #365012 #12504B #2C1250
split-complementary
#501217 #12502C #123650
monochromatic
#190607 #1E0709 #501217 #821D25 #B42834

Accessibility & contrast

On white

14.58
#501217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501217
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501217#FFFFFF#000000##FFFFFF
##5012171.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232017
Deuteranopia (green-blind)
#332E15
Tritanopia (blue-blind)
#580214
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #501217;
/* rgb */ color: rgb(80, 18, 23);
/* oklch */ color: oklch(29.1% 0.092 20.6);
Tailwind
colors: {
  custom: {
    50: '#865553',
    500: '#501217',
    950: '#000000',
  },
}
SCSS
$custom: #501217;
$custom-light: #865553;
$custom-dark: #000000;
JSON
{
  "hex": "#501217",
  "rgb": {
    "r": 80,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 355.161,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.09172,
    "h": 20.6
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#501217
secondary
#358982
accent
#E6D941
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #501217

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

Preview Lab → · Contrast checker → · Palette generator →

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