#511507#511507

#511507 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.092 H 34.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#511507
RGBrgb(81, 21, 7)
HSLhsl(11, 84%, 17%)
HSVhsv(11, 91%, 32%)
CMYKcmyk(0%, 74.1%, 91.4%, 68.2%)
CIE-LABlab(17.00, 27.23, 22.86)
CIE-LCHlch(17.00, 35.56, 40.01°)
OKLaboklab(29.48% 0.0763 0.0523)
OKLCHoklch(29.48% 0.092 34.4)
XYZxyz(3.7003, 2.3016, 0.4504)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511507 #074351
analogous
#51071E #511507 #513A07
triadic
#511507 #075115 #150751
tetradic
#511507 #1E5107 #074351 #3A0751
square
#511507 #1E5107 #074351 #3A0751
split-complementary
#511507 #07513A #071E51
monochromatic
#1C0702 #1C0702 #511507 #89240C #C23211

Accessibility & contrast

On white

14.38
#511507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#511507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511507
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511507#FFFFFF#000000##FFFFFF
##5115071.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272105
Deuteranopia (green-blind)
#352F05
Tritanopia (blue-blind)
#5A0312
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #511507;
/* rgb */ color: rgb(81, 21, 7);
/* oklch */ color: oklch(29.5% 0.092 34.4);
Tailwind
colors: {
  custom: {
    50: '#88564a',
    500: '#511507',
    950: '#000000',
  },
}
SCSS
$custom: #511507;
$custom-light: #88564a;
$custom-dark: #000000;
JSON
{
  "hex": "#511507",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 7
  },
  "hsl": {
    "h": 11.351,
    "s": 84.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.09249,
    "h": 34.4
  },
  "luminance": 0.02301
}

Semantic roles & 50–950 ramp

primary
#511507
secondary
#257B8F
accent
#D4FA2D
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #511507

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

Preview Lab → · Contrast checker → · Palette generator →

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