#511A0C#511A0C

#511A0C is a dark, moderate red. Relative luminance 0.025; OKLCH L 30.2% C 0.086 H 35.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#511A0C
RGBrgb(81, 26, 12)
HSLhsl(12, 74%, 18%)
HSVhsv(12, 85%, 32%)
CMYKcmyk(0%, 67.9%, 85.2%, 68.2%)
CIE-LABlab(17.99, 24.91, 21.98)
CIE-LCHlch(17.99, 33.22, 41.42°)
OKLaboklab(30.25% 0.0702 0.0497)
OKLCHoklch(30.25% 0.086 35.3)
XYZxyz(3.8295, 2.5152, 0.6316)
Luminance0.0251 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A0C #0C4351
analogous
#510C20 #511A0C #513C0C
triadic
#511A0C #0C511A #1A0C51
tetradic
#511A0C #20510C #0C4351 #3C0C51
square
#511A0C #20510C #0C4351 #3C0C51
split-complementary
#511A0C #0C513C #0C2051
monochromatic
#1B0904 #1C0904 #511A0C #862B14 #BC3C1C

Accessibility & contrast

On white

13.97
#511A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#511A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A0C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A0C#FFFFFF#000000##FFFFFF
##511A0C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#37310A
Tritanopia (blue-blind)
#5A0C17
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #511a0c;
/* rgb */ color: rgb(81, 26, 12);
/* oklch */ color: oklch(30.2% 0.086 35.3);
Tailwind
colors: {
  custom: {
    50: '#87594c',
    500: '#511a0c',
    950: '#000000',
  },
}
SCSS
$custom: #511a0c;
$custom-light: #87594c;
$custom-dark: #000000;
JSON
{
  "hex": "#511a0c",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 12
  },
  "hsl": {
    "h": 12.174,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30245,
    "c": 0.086,
    "h": 35.3
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#511A0C
secondary
#2C798C
accent
#CBF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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