#511C17#511C17

#511C17 is a dark, moderate red. Relative luminance 0.026; OKLCH L 30.7% C 0.081 H 28.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#511C17
RGBrgb(81, 28, 23)
HSLhsl(5, 56%, 20%)
HSVhsv(5, 72%, 32%)
CMYKcmyk(0%, 65.4%, 71.6%, 68.2%)
CIE-LABlab(18.55, 24.47, 16.18)
CIE-LCHlch(18.55, 29.33, 33.48°)
OKLaboklab(30.72% 0.0713 0.0381)
OKLCHoklch(30.72% 0.081 28.1)
XYZxyz(3.9636, 2.6422, 1.1117)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C17 #174C51
analogous
#51172F #511C17 #513917
triadic
#511C17 #17511C #1C1751
tetradic
#511C17 #2F5117 #174C51 #391751
square
#511C17 #2F5117 #174C51 #391751
split-complementary
#511C17 #175139 #172F51
monochromatic
#180807 #210C09 #511C17 #812C25 #B03D32

Accessibility & contrast

On white

13.74
#511C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C17
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C17#FFFFFF#000000##FFFFFF
##511C171.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2616
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#59111B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c17;
/* rgb */ color: rgb(81, 28, 23);
/* oklch */ color: oklch(30.7% 0.081 28.1);
Tailwind
colors: {
  custom: {
    50: '#865b54',
    500: '#511c17',
    950: '#000000',
  },
}
SCSS
$custom: #511c17;
$custom-light: #865b54;
$custom-dark: #000000;
JSON
{
  "hex": "#511c17",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 23
  },
  "hsl": {
    "h": 5.172,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30719,
    "c": 0.08081,
    "h": 28.1
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#511C17
secondary
#3C8288
accent
#D2DF49
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #511C17

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

Preview Lab → · Contrast checker → · Palette generator →

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