#511A22#511A22

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

Color values

HEX#511A22
RGBrgb(81, 26, 34)
HSLhsl(351, 51%, 21%)
HSVhsv(351, 68%, 32%)
CMYKcmyk(0%, 67.9%, 58%, 68.2%)
CIE-LABlab(18.38, 26.46, 8.31)
CIE-LCHlch(18.38, 27.74, 17.43°)
OKLaboklab(30.67% 0.0797 0.0209)
OKLCHoklch(30.67% 0.082 14.7)
XYZxyz(4.0518, 2.6041, 1.8023)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A22 #1A5149
analogous
#511A3D #511A22 #512D1A
triadic
#511A22 #22511A #1A2251
tetradic
#511A22 #3D511A #1A5149 #2D1A51
square
#511A22 #3D511A #1A5149 #2D1A51
split-complementary
#511A22 #1A512D #1A3D51
monochromatic
#17070A #230B0F #511A22 #7F2935 #AE3849

Accessibility & contrast

On white

13.81
#511A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A22
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A22#FFFFFF#000000##FFFFFF
##511A221.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272622
Deuteranopia (green-blind)
#353121
Tritanopia (blue-blind)
#59111D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a22;
/* rgb */ color: rgb(81, 26, 34);
/* oklch */ color: oklch(30.7% 0.082 14.7);
Tailwind
colors: {
  custom: {
    50: '#865a5c',
    500: '#511a22',
    950: '#000000',
  },
}
SCSS
$custom: #511a22;
$custom-light: #865a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#511a22",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 351.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3067,
    "c": 0.08239,
    "h": 14.7
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#511A22
secondary
#40877D
accent
#DBC64D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0404
muted
#7D7979

Preview Lab

Preview with #511A22

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

Preview Lab → · Contrast checker → · Palette generator →

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