#511C18#511C18

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

Color values

HEX#511C18
RGBrgb(81, 28, 24)
HSLhsl(4, 54%, 21%)
HSVhsv(4, 70%, 32%)
CMYKcmyk(0%, 65.4%, 70.4%, 68.2%)
CIE-LABlab(18.57, 24.54, 15.52)
CIE-LCHlch(18.57, 29.04, 32.32°)
OKLaboklab(30.74% 0.0717 0.0368)
OKLCHoklch(30.74% 0.081 27.1)
XYZxyz(3.9738, 2.6463, 1.1655)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C18 #184D51
analogous
#511830 #511C18 #513818
triadic
#511C18 #18511C #1C1851
tetradic
#511C18 #305118 #184D51 #381851
square
#511C18 #305118 #184D51 #381851
split-complementary
#511C18 #185138 #183051
monochromatic
#180807 #220C0A #511C18 #802C26 #AF3D34

Accessibility & contrast

On white

13.73
#511C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C18
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C18#FFFFFF#000000##FFFFFF
##511C181.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c18;
/* rgb */ color: rgb(81, 28, 24);
/* oklch */ color: oklch(30.7% 0.081 27.1);
Tailwind
colors: {
  custom: {
    50: '#865b54',
    500: '#511c18',
    950: '#000000',
  },
}
SCSS
$custom: #511c18;
$custom-light: #865b54;
$custom-dark: #000000;
JSON
{
  "hex": "#511c18",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 24
  },
  "hsl": {
    "h": 4.211,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30738,
    "c": 0.0806,
    "h": 27.1
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#511C18
secondary
#3D8388
accent
#D3DE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511C18

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

Preview Lab → · Contrast checker → · Palette generator →

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