#511E26#511E26

#511E26 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.077 H 13.0°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#511E26
RGBrgb(81, 30, 38)
HSLhsl(351, 46%, 22%)
HSVhsv(351, 63%, 32%)
CMYKcmyk(0%, 63%, 53.1%, 68.2%)
CIE-LABlab(19.30, 24.72, 6.76)
CIE-LCHlch(19.30, 25.63, 15.29°)
OKLaboklab(31.39% 0.0747 0.0173)
OKLCHoklch(31.39% 0.077 13)
XYZxyz(4.2078, 2.8183, 2.1557)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E26 #1E5149
analogous
#511E40 #511E26 #51301E
triadic
#511E26 #26511E #1E2651
tetradic
#511E26 #40511E #1E5149 #301E51
square
#511E26 #40511E #1E5149 #301E51
split-complementary
#511E26 #1E5130 #1E4051
monochromatic
#16080A #240D11 #511E26 #7E2F3B #AA3F50

Accessibility & contrast

On white

13.43
#511E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E26
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E26#FFFFFF#000000##FFFFFF
##511E261.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292826
Deuteranopia (green-blind)
#363325
Tritanopia (blue-blind)
#591721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e26;
/* rgb */ color: rgb(81, 30, 38);
/* oklch */ color: oklch(31.4% 0.077 13.0);
Tailwind
colors: {
  custom: {
    50: '#855c60',
    500: '#511e26',
    950: '#000000',
  },
}
SCSS
$custom: #511e26;
$custom-light: #855c60;
$custom-dark: #000000;
JSON
{
  "hex": "#511e26",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 350.588,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31393,
    "c": 0.07669,
    "h": 13
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#511E26
secondary
#45867C
accent
#D6C152
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511E26

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

Preview Lab → · Contrast checker → · Palette generator →

#511E26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva