#511C12#511C12

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

Color values

HEX#511C12
RGBrgb(81, 28, 18)
HSLhsl(10, 64%, 19%)
HSVhsv(10, 78%, 32%)
CMYKcmyk(0%, 65.4%, 77.8%, 68.2%)
CIE-LABlab(18.47, 24.14, 19.37)
CIE-LCHlch(18.47, 30.95, 38.74°)
OKLaboklab(30.63% 0.0692 0.0443)
OKLCHoklch(30.63% 0.082 32.6)
XYZxyz(3.9182, 2.6240, 0.8723)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C12 #124751
analogous
#511228 #511C12 #513C12
triadic
#511C12 #12511C #1C1251
tetradic
#511C12 #285112 #124751 #3C1251
square
#511C12 #285112 #124751 #3C1251
split-complementary
#511C12 #12513C #122851
monochromatic
#190906 #1F0B07 #511C12 #832D1D #B53F28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511C12#FFFFFF#000000##FFFFFF
##511C121.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c12;
/* rgb */ color: rgb(81, 28, 18);
/* oklch */ color: oklch(30.6% 0.082 32.6);
Tailwind
colors: {
  custom: {
    50: '#875a50',
    500: '#511c12',
    950: '#000000',
  },
}
SCSS
$custom: #511c12;
$custom-light: #875a50;
$custom-dark: #000000;
JSON
{
  "hex": "#511c12",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 9.524,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30634,
    "c": 0.0821,
    "h": 32.6
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#511C12
secondary
#357C8A
accent
#CCE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511C12

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

Preview Lab → · Contrast checker → · Palette generator →

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