#511618#511618

#511618 is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.9% C 0.088 H 22.3°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#511618
RGBrgb(81, 22, 24)
HSLhsl(358, 57%, 20%)
HSVhsv(358, 73%, 32%)
CMYKcmyk(0%, 72.8%, 70.4%, 68.2%)
CIE-LABlab(17.41, 27.63, 14.08)
CIE-LCHlch(17.41, 31.01, 26.99°)
OKLaboklab(29.87% 0.0815 0.0335)
OKLCHoklch(29.87% 0.088 22.3)
XYZxyz(3.8455, 2.3896, 1.1227)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511618 #16514F
analogous
#511635 #511618 #513116
triadic
#511618 #185116 #161851
tetradic
#511618 #355116 #16514F #311651
square
#511618 #355116 #16514F #311651
split-complementary
#511618 #165131 #163551
monochromatic
#180707 #21090A #511618 #812326 #B13035

Accessibility & contrast

On white

14.21
#511618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#511618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511618
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511618#FFFFFF#000000##FFFFFF
##5116181.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262318
Deuteranopia (green-blind)
#352F16
Tritanopia (blue-blind)
#590817
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #511618;
/* rgb */ color: rgb(81, 22, 24);
/* oklch */ color: oklch(29.9% 0.088 22.3);
Tailwind
colors: {
  custom: {
    50: '#875754',
    500: '#511618',
    950: '#000000',
  },
}
SCSS
$custom: #511618;
$custom-light: #875754;
$custom-dark: #000000;
JSON
{
  "hex": "#511618",
  "rgb": {
    "r": 81,
    "g": 22,
    "b": 24
  },
  "hsl": {
    "h": 357.966,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.0881,
    "h": 22.3
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#511618
secondary
#3A8886
accent
#E1DB47
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511618

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

Preview Lab → · Contrast checker → · Palette generator →

#511618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva