#501F27#501F27

#501F27 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.074 H 12.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#501F27
RGBrgb(80, 31, 39)
HSLhsl(350, 44%, 22%)
HSVhsv(350, 61%, 31%)
CMYKcmyk(0%, 61.2%, 51.2%, 68.6%)
CIE-LABlab(19.36, 23.86, 6.11)
CIE-LCHlch(19.36, 24.63, 14.37°)
OKLaboklab(31.41% 0.0722 0.0157)
OKLCHoklch(31.41% 0.074 12.3)
XYZxyz(4.1648, 2.8324, 2.2464)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F27 #1F5048
analogous
#501F40 #501F27 #50301F
triadic
#501F27 #27501F #1F2750
tetradic
#501F27 #40501F #1F5048 #301F50
square
#501F27 #40501F #1F5048 #301F50
split-complementary
#501F27 #1F5030 #1F4050
monochromatic
#16090B #240E11 #501F27 #7C303D #A84152

Accessibility & contrast

On white

13.41
#501F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F27
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F27#FFFFFF#000000##FFFFFF
##501F271.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292927
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#571922
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501f27;
/* rgb */ color: rgb(80, 31, 39);
/* oklch */ color: oklch(31.4% 0.074 12.3);
Tailwind
colors: {
  custom: {
    50: '#845d60',
    500: '#501f27',
    950: '#000000',
  },
}
SCSS
$custom: #501f27;
$custom-light: #845d60;
$custom-dark: #000000;
JSON
{
  "hex": "#501f27",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 350.204,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3141,
    "c": 0.0739,
    "h": 12.3
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#501F27
secondary
#46857B
accent
#D4BF54
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #501F27

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

Preview Lab → · Contrast checker → · Palette generator →

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