#511C0C#511C0C

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

Color values

HEX#511C0C
RGBrgb(81, 28, 12)
HSLhsl(14, 74%, 18%)
HSVhsv(14, 85%, 32%)
CMYKcmyk(0%, 65.4%, 85.2%, 68.2%)
CIE-LABlab(18.40, 23.84, 22.46)
CIE-LCHlch(18.40, 32.75, 43.30°)
OKLaboklab(30.55% 0.0669 0.0506)
OKLCHoklch(30.55% 0.084 37.1)
XYZxyz(3.8754, 2.6069, 0.6469)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C0C #0C4151
analogous
#510C1E #511C0C #513E0C
triadic
#511C0C #0C511C #1C0C51
tetradic
#511C0C #1E510C #0C4151 #3E0C51
square
#511C0C #1E510C #0C4151 #3E0C51
split-complementary
#511C0C #0C513E #0C1E51
monochromatic
#1B0904 #1C0A04 #511C0C #862E14 #BC411C

Accessibility & contrast

On white

13.80
#511C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C0C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C0C#FFFFFF#000000##FFFFFF
##511C0C1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B250A
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#5A0F19
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511c0c;
/* rgb */ color: rgb(81, 28, 12);
/* oklch */ color: oklch(30.6% 0.084 37.1);
Tailwind
colors: {
  custom: {
    50: '#875a4c',
    500: '#511c0c',
    950: '#000000',
  },
}
SCSS
$custom: #511c0c;
$custom-light: #875a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#511c0c",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 12
  },
  "hsl": {
    "h": 13.913,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30553,
    "c": 0.08384,
    "h": 37.1
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#511C0C
secondary
#2C768C
accent
#C6F137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0401
muted
#7D7977

Preview Lab

Preview with #511C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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