#511A24#511A24

#511A24 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.083 H 12.4°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#511A24
RGBrgb(81, 26, 36)
HSLhsl(349, 51%, 21%)
HSVhsv(349, 68%, 32%)
CMYKcmyk(0%, 67.9%, 55.6%, 68.2%)
CIE-LABlab(18.44, 26.66, 6.97)
CIE-LCHlch(18.44, 27.56, 14.64°)
OKLaboklab(30.73% 0.0806 0.0177)
OKLCHoklch(30.73% 0.083 12.4)
XYZxyz(4.0815, 2.6160, 1.9587)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A24 #1A5147
analogous
#511A3F #511A24 #512B1A
triadic
#511A24 #24511A #1A2451
tetradic
#511A24 #3F511A #1A5147 #2B1A51
square
#511A24 #3F511A #1A5147 #2B1A51
split-complementary
#511A24 #1A512B #1A3F51
monochromatic
#17070A #230B0F #511A24 #7F2939 #AE384D

Accessibility & contrast

On white

13.79
#511A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A24
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A24#FFFFFF#000000##FFFFFF
##511A241.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262624
Deuteranopia (green-blind)
#353123
Tritanopia (blue-blind)
#59111E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a24;
/* rgb */ color: rgb(81, 26, 36);
/* oklch */ color: oklch(30.7% 0.083 12.4);
Tailwind
colors: {
  custom: {
    50: '#855a5e',
    500: '#511a24',
    950: '#000000',
  },
}
SCSS
$custom: #511a24;
$custom-light: #855a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#511a24",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 36
  },
  "hsl": {
    "h": 349.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30726,
    "c": 0.08254,
    "h": 12.4
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#511A24
secondary
#40877A
accent
#DBC14D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511A24

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

Preview Lab → · Contrast checker → · Palette generator →

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