#511E18#511E18

#511E18 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.078 H 29.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#511E18
RGBrgb(81, 30, 24)
HSLhsl(6, 54%, 21%)
HSVhsv(6, 70%, 32%)
CMYKcmyk(0%, 63%, 70.4%, 68.2%)
CIE-LABlab(18.99, 23.43, 16.04)
CIE-LCHlch(18.99, 28.40, 34.40°)
OKLaboklab(31.06% 0.0683 0.0379)
OKLCHoklch(31.06% 0.078 29)
XYZxyz(4.0229, 2.7443, 1.1818)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E18 #184B51
analogous
#51182E #511E18 #513A18
triadic
#511E18 #18511E #1E1851
tetradic
#511E18 #2E5118 #184B51 #3A1851
square
#511E18 #2E5118 #184B51 #3A1851
split-complementary
#511E18 #18513A #182E51
monochromatic
#180907 #220D0A #511E18 #802F26 #AF4134

Accessibility & contrast

On white

13.56
#511E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E18
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E18#FFFFFF#000000##FFFFFF
##511E181.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#383217
Tritanopia (blue-blind)
#59141D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e18;
/* rgb */ color: rgb(81, 30, 24);
/* oklch */ color: oklch(31.1% 0.078 29.0);
Tailwind
colors: {
  custom: {
    50: '#865c54',
    500: '#511e18',
    950: '#000000',
  },
}
SCSS
$custom: #511e18;
$custom-light: #865c54;
$custom-dark: #000000;
JSON
{
  "hex": "#511e18",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 24
  },
  "hsl": {
    "h": 6.316,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31057,
    "c": 0.07809,
    "h": 29
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#511E18
secondary
#3D8088
accent
#CEDE4A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511E18

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

Preview Lab → · Contrast checker → · Palette generator →

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