#511A1C#511A1C

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

Color values

HEX#511A1C
RGBrgb(81, 26, 28)
HSLhsl(358, 51%, 21%)
HSVhsv(358, 68%, 32%)
CMYKcmyk(0%, 67.9%, 65.4%, 68.2%)
CIE-LABlab(18.24, 25.92, 12.35)
CIE-LCHlch(18.24, 28.71, 25.47°)
OKLaboklab(30.52% 0.0769 0.03)
OKLCHoklch(30.52% 0.083 21.3)
XYZxyz(3.9727, 2.5725, 1.3857)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A1C #1A514F
analogous
#511A37 #511A1C #51331A
triadic
#511A1C #1C511A #1A1C51
tetradic
#511A1C #37511A #1A514F #331A51
square
#511A1C #37511A #1A514F #331A51
split-complementary
#511A1C #1A5133 #1A3751
monochromatic
#170708 #230B0C #511A1C #7F292C #AE383C

Accessibility & contrast

On white

13.87
#511A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A1C
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A1C#FFFFFF#000000##FFFFFF
##511A1C1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511a1c;
/* rgb */ color: rgb(81, 26, 28);
/* oklch */ color: oklch(30.5% 0.083 21.3);
Tailwind
colors: {
  custom: {
    50: '#865958',
    500: '#511a1c',
    950: '#000000',
  },
}
SCSS
$custom: #511a1c;
$custom-light: #865958;
$custom-dark: #000000;
JSON
{
  "hex": "#511a1c",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 357.818,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3052,
    "c": 0.08256,
    "h": 21.3
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#511A1C
secondary
#408785
accent
#DBD64D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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