#511A1A#511A1A

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

Color values

HEX#511A1A
RGBrgb(81, 26, 26)
HSLhsl(0, 51%, 21%)
HSVhsv(0, 68%, 32%)
CMYKcmyk(0%, 67.9%, 67.9%, 68.2%)
CIE-LABlab(18.20, 25.76, 13.68)
CIE-LCHlch(18.20, 29.17, 27.98°)
OKLaboklab(30.48% 0.076 0.0329)
OKLCHoklch(30.48% 0.083 23.4)
XYZxyz(3.9496, 2.5632, 1.2639)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A1A #1A5151
analogous
#511A35 #511A1A #51351A
triadic
#511A1A #1A511A #1A1A51
tetradic
#511A1A #35511A #1A5151 #351A51
square
#511A1A #35511A #1A5151 #351A51
split-complementary
#511A1A #1A5135 #1A3551
monochromatic
#170707 #230B0B #511A1A #7F2929 #AE3838

Accessibility & contrast

On white

13.88
#511A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#511A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A1A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A1A#FFFFFF#000000##FFFFFF
##511A1A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251A
Deuteranopia (green-blind)
#363119
Tritanopia (blue-blind)
#590F1B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a1a;
/* rgb */ color: rgb(81, 26, 26);
/* oklch */ color: oklch(30.5% 0.083 23.4);
Tailwind
colors: {
  custom: {
    50: '#865956',
    500: '#511a1a',
    950: '#000000',
  },
}
SCSS
$custom: #511a1a;
$custom-light: #865956;
$custom-dark: #000000;
JSON
{
  "hex": "#511a1a",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30475,
    "c": 0.0828,
    "h": 23.4
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#511A1A
secondary
#408787
accent
#DBDB4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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