#511C13#511C13

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

Color values

HEX#511C13
RGBrgb(81, 28, 19)
HSLhsl(9, 62%, 20%)
HSVhsv(9, 77%, 32%)
CMYKcmyk(0%, 65.4%, 76.5%, 68.2%)
CIE-LABlab(18.49, 24.20, 18.76)
CIE-LCHlch(18.49, 30.62, 37.79°)
OKLaboklab(30.65% 0.0696 0.0431)
OKLCHoklch(30.65% 0.082 31.8)
XYZxyz(3.9265, 2.6274, 0.9163)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C13 #134851
analogous
#511329 #511C13 #513B13
triadic
#511C13 #13511C #1C1351
tetradic
#511C13 #295113 #134851 #3B1351
square
#511C13 #295113 #134851 #3B1351
split-complementary
#511C13 #13513B #132951
monochromatic
#190906 #1F0B07 #511C13 #832D1F #B43E2A

Accessibility & contrast

On white

13.77
#511C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C13
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C13#FFFFFF#000000##FFFFFF
##511C131.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2612
Deuteranopia (green-blind)
#373112
Tritanopia (blue-blind)
#5A101A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c13;
/* rgb */ color: rgb(81, 28, 19);
/* oklch */ color: oklch(30.6% 0.082 31.8);
Tailwind
colors: {
  custom: {
    50: '#875a51',
    500: '#511c13',
    950: '#000000',
  },
}
SCSS
$custom: #511c13;
$custom-light: #875a51;
$custom-dark: #000000;
JSON
{
  "hex": "#511c13",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 19
  },
  "hsl": {
    "h": 8.71,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.08182,
    "h": 31.8
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#511C13
secondary
#367D8A
accent
#CEE543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511C13

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

Preview Lab → · Contrast checker → · Palette generator →

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