#511C16#511C16

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

Color values

HEX#511C16
RGBrgb(81, 28, 22)
HSLhsl(6, 57%, 20%)
HSVhsv(6, 73%, 32%)
CMYKcmyk(0%, 65.4%, 72.8%, 68.2%)
CIE-LABlab(18.53, 24.40, 16.84)
CIE-LCHlch(18.53, 29.64, 34.61°)
OKLaboklab(30.7% 0.0708 0.0394)
OKLCHoklch(30.7% 0.081 29.1)
XYZxyz(3.9538, 2.6383, 1.0599)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C16 #164B51
analogous
#51162D #511C16 #513A16
triadic
#511C16 #16511C #1C1651
tetradic
#511C16 #2D5116 #164B51 #3A1651
square
#511C16 #2D5116 #164B51 #3A1651
split-complementary
#511C16 #16513A #162D51
monochromatic
#180807 #210B09 #511C16 #812D23 #B13D30

Accessibility & contrast

On white

13.75
#511C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C16
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C16#FFFFFF#000000##FFFFFF
##511C161.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2615
Deuteranopia (green-blind)
#373115
Tritanopia (blue-blind)
#59111B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c16;
/* rgb */ color: rgb(81, 28, 22);
/* oklch */ color: oklch(30.7% 0.081 29.1);
Tailwind
colors: {
  custom: {
    50: '#875b53',
    500: '#511c16',
    950: '#000000',
  },
}
SCSS
$custom: #511c16;
$custom-light: #875b53;
$custom-dark: #000000;
JSON
{
  "hex": "#511c16",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 22
  },
  "hsl": {
    "h": 6.102,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30701,
    "c": 0.08105,
    "h": 29.1
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#511C16
secondary
#3A8188
accent
#D1E147
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511C16

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

Preview Lab → · Contrast checker → · Palette generator →

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