#511E12#511E12

#511E12 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.0% C 0.080 H 34.6°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#511E12
RGBrgb(81, 30, 18)
HSLhsl(11, 64%, 19%)
HSVhsv(11, 78%, 32%)
CMYKcmyk(0%, 63%, 77.8%, 68.2%)
CIE-LABlab(18.89, 23.03, 19.87)
CIE-LCHlch(18.89, 30.42, 40.78°)
OKLaboklab(30.95% 0.0657 0.0453)
OKLCHoklch(30.95% 0.08 34.6)
XYZxyz(3.9672, 2.7221, 0.8887)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E12 #124551
analogous
#511226 #511E12 #513E12
triadic
#511E12 #12511E #1E1251
tetradic
#511E12 #265112 #124551 #3E1251
square
#511E12 #265112 #124551 #3E1251
split-complementary
#511E12 #12513E #122651
monochromatic
#190906 #1F0B07 #511E12 #83311D #B54328

Accessibility & contrast

On white

13.60
#511E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E12
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E12#FFFFFF#000000##FFFFFF
##511E121.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2711
Deuteranopia (green-blind)
#383211
Tritanopia (blue-blind)
#5A131B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511e12;
/* rgb */ color: rgb(81, 30, 18);
/* oklch */ color: oklch(31.0% 0.080 34.6);
Tailwind
colors: {
  custom: {
    50: '#875c50',
    500: '#511e12',
    950: '#000000',
  },
}
SCSS
$custom: #511e12;
$custom-light: #875c50;
$custom-dark: #000000;
JSON
{
  "hex": "#511e12",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 18
  },
  "hsl": {
    "h": 11.429,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30954,
    "c": 0.07981,
    "h": 34.6
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#511E12
secondary
#357A8A
accent
#C7E741
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511E12

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

Preview Lab → · Contrast checker → · Palette generator →

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