#501B28#501B28

#501B28 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.8% C 0.080 H 8.0°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#501B28
RGBrgb(80, 27, 40)
HSLhsl(345, 50%, 21%)
HSVhsv(345, 66%, 31%)
CMYKcmyk(0%, 66.3%, 50%, 68.6%)
CIE-LABlab(18.55, 26.18, 4.27)
CIE-LCHlch(18.55, 26.53, 9.26°)
OKLaboklab(30.81% 0.0796 0.0112)
OKLCHoklch(30.81% 0.08 8)
XYZxyz(4.0835, 2.6430, 2.3022)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B28 #1B5043
analogous
#501B42 #501B28 #50281B
triadic
#501B28 #28501B #1B2850
tetradic
#501B28 #42501B #1B5043 #281B50
square
#501B28 #42501B #1B5043 #281B50
split-complementary
#501B28 #1B5028 #1B4250
monochromatic
#17080B #220C11 #501B28 #7E2A3F #AC3A56

Accessibility & contrast

On white

13.74
#501B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#501B28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B28
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B28#FFFFFF#000000##FFFFFF
##501B281.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262728
Deuteranopia (green-blind)
#343127
Tritanopia (blue-blind)
#571420
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #501b28;
/* rgb */ color: rgb(80, 27, 40);
/* oklch */ color: oklch(30.8% 0.080 8.0);
Tailwind
colors: {
  custom: {
    50: '#845a61',
    500: '#501b28',
    950: '#000000',
  },
}
SCSS
$custom: #501b28;
$custom-light: #845a61;
$custom-dark: #000000;
JSON
{
  "hex": "#501b28",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 345.283,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.08038,
    "h": 8
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#501B28
secondary
#418675
accent
#D9B74F
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #501B28

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

Preview Lab → · Contrast checker → · Palette generator →

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