#511A1D#511A1D

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

Color values

HEX#511A1D
RGBrgb(81, 26, 29)
HSLhsl(357, 51%, 21%)
HSVhsv(357, 68%, 32%)
CMYKcmyk(0%, 67.9%, 64.2%, 68.2%)
CIE-LABlab(18.26, 26.01, 11.67)
CIE-LCHlch(18.26, 28.51, 24.17°)
OKLaboklab(30.54% 0.0774 0.0285)
OKLCHoklch(30.54% 0.082 20.2)
XYZxyz(3.9849, 2.5773, 1.4498)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A1D #1A514E
analogous
#511A38 #511A1D #51321A
triadic
#511A1D #1D511A #1A1D51
tetradic
#511A1D #38511A #1A514E #321A51
square
#511A1D #38511A #1A514E #321A51
split-complementary
#511A1D #1A5132 #1A3851
monochromatic
#170708 #230B0C #511A1D #7F292E #AE383E

Accessibility & contrast

On white

13.86
#511A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A1D
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A1D#FFFFFF#000000##FFFFFF
##511A1D1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28251D
Deuteranopia (green-blind)
#36311C
Tritanopia (blue-blind)
#590F1B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a1d;
/* rgb */ color: rgb(81, 26, 29);
/* oklch */ color: oklch(30.5% 0.082 20.2);
Tailwind
colors: {
  custom: {
    50: '#865a58',
    500: '#511a1d',
    950: '#000000',
  },
}
SCSS
$custom: #511a1d;
$custom-light: #865a58;
$custom-dark: #000000;
JSON
{
  "hex": "#511a1d",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 29
  },
  "hsl": {
    "h": 356.727,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.08247,
    "h": 20.2
  },
  "luminance": 0.02577
}

Semantic roles & 50–950 ramp

primary
#511A1D
secondary
#408783
accent
#DBD34D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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