#511512#511512

#511512 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.090 H 27.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#511512
RGBrgb(81, 21, 18)
HSLhsl(3, 64%, 19%)
HSVhsv(3, 78%, 32%)
CMYKcmyk(0%, 74.1%, 77.8%, 68.2%)
CIE-LABlab(17.13, 27.73, 17.76)
CIE-LCHlch(17.13, 32.93, 32.64°)
OKLaboklab(29.63% 0.0804 0.0409)
OKLCHoklch(29.63% 0.09 27)
XYZxyz(3.7711, 2.3299, 0.8233)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511512 #124E51
analogous
#51122F #511512 #513512
triadic
#511512 #125115 #151251
tetradic
#511512 #2F5112 #124E51 #351251
square
#511512 #2F5112 #124E51 #351251
split-complementary
#511512 #125135 #122F51
monochromatic
#190606 #1F0807 #511512 #83221D #B52F28

Accessibility & contrast

On white

14.33
#511512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#511512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511512
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511512#FFFFFF#000000##FFFFFF
##5115121.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#352F10
Tritanopia (blue-blind)
#5A0515
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511512;
/* rgb */ color: rgb(81, 21, 18);
/* oklch */ color: oklch(29.6% 0.090 27.0);
Tailwind
colors: {
  custom: {
    50: '#875650',
    500: '#511512',
    950: '#000000',
  },
}
SCSS
$custom: #511512;
$custom-light: #875650;
$custom-dark: #000000;
JSON
{
  "hex": "#511512",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 18
  },
  "hsl": {
    "h": 2.857,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.09017,
    "h": 27
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#511512
secondary
#35868A
accent
#DFE741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #511512

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

Preview Lab → · Contrast checker → · Palette generator →

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