#501F18#501F18

#501F18 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.0% C 0.075 H 30.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#501F18
RGBrgb(80, 31, 24)
HSLhsl(8, 54%, 20%)
HSVhsv(8, 70%, 31%)
CMYKcmyk(0%, 61.2%, 70%, 68.6%)
CIE-LABlab(19.02, 22.43, 16.04)
CIE-LCHlch(19.02, 27.58, 35.57°)
OKLaboklab(31.05% 0.0653 0.038)
OKLCHoklch(31.05% 0.076 30.2)
XYZxyz(3.9635, 2.7519, 1.1864)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F18 #184950
analogous
#50182D #501F18 #503B18
triadic
#501F18 #18501F #1F1850
tetradic
#501F18 #2D5018 #184950 #3B1850
square
#501F18 #2D5018 #184950 #3B1850
split-complementary
#501F18 #18503B #182D50
monochromatic
#180907 #210D0A #501F18 #7F3126 #AE4334

Accessibility & contrast

On white

13.55
#501F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#501F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F18
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F18#FFFFFF#000000##FFFFFF
##501F181.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501f18;
/* rgb */ color: rgb(80, 31, 24);
/* oklch */ color: oklch(31.0% 0.075 30.2);
Tailwind
colors: {
  custom: {
    50: '#855c54',
    500: '#501f18',
    950: '#000000',
  },
}
SCSS
$custom: #501f18;
$custom-light: #855c54;
$custom-dark: #000000;
JSON
{
  "hex": "#501f18",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 7.5,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31045,
    "c": 0.0755,
    "h": 30.2
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#501F18
secondary
#3D7E87
accent
#CBDD4B
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #501F18

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

Preview Lab → · Contrast checker → · Palette generator →

#501F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva