#511C0E#511C0E

#511C0E is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.6% C 0.083 H 35.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#511C0E
RGBrgb(81, 28, 14)
HSLhsl(13, 71%, 19%)
HSVhsv(13, 83%, 32%)
CMYKcmyk(0%, 65.4%, 82.7%, 68.2%)
CIE-LABlab(18.42, 23.93, 21.53)
CIE-LCHlch(18.42, 32.19, 41.98°)
OKLaboklab(30.58% 0.0676 0.0486)
OKLCHoklch(30.58% 0.083 35.7)
XYZxyz(3.8883, 2.6121, 0.7148)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C0E #0E4351
analogous
#510E21 #511C0E #513D0E
triadic
#511C0E #0E511C #1C0E51
tetradic
#511C0E #21510E #0E4351 #3D0E51
square
#511C0E #21510E #0E4351 #3D0E51
split-complementary
#511C0E #0E513D #0E2151
monochromatic
#1A0905 #1D0A05 #511C0E #852E17 #B94020

Accessibility & contrast

On white

13.79
#511C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C0E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C0E#FFFFFF#000000##FFFFFF
##511C0E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#5A1019
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c0e;
/* rgb */ color: rgb(81, 28, 14);
/* oklch */ color: oklch(30.6% 0.083 35.7);
Tailwind
colors: {
  custom: {
    50: '#875a4d',
    500: '#511c0e',
    950: '#000000',
  },
}
SCSS
$custom: #511c0e;
$custom-light: #875a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#511c0e",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 14
  },
  "hsl": {
    "h": 12.537,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30577,
    "c": 0.08326,
    "h": 35.7
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#511C0E
secondary
#2F788C
accent
#C8ED3A
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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