#511A26#511A26

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

Color values

HEX#511A26
RGBrgb(81, 26, 38)
HSLhsl(347, 51%, 21%)
HSVhsv(347, 68%, 32%)
CMYKcmyk(0%, 67.9%, 53.1%, 68.2%)
CIE-LABlab(18.49, 26.87, 5.63)
CIE-LCHlch(18.49, 27.46, 11.83°)
OKLaboklab(30.79% 0.0815 0.0145)
OKLCHoklch(30.79% 0.083 10.1)
XYZxyz(4.1129, 2.6286, 2.1241)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A26 #1A5145
analogous
#511A41 #511A26 #51291A
triadic
#511A26 #26511A #1A2651
tetradic
#511A26 #41511A #1A5145 #291A51
square
#511A26 #41511A #1A5145 #291A51
split-complementary
#511A26 #1A5129 #1A4151
monochromatic
#17070B #230B10 #511A26 #7F293C #AE3851

Accessibility & contrast

On white

13.77
#511A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A26
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A26#FFFFFF#000000##FFFFFF
##511A261.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262626
Deuteranopia (green-blind)
#343125
Tritanopia (blue-blind)
#59121F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a26;
/* rgb */ color: rgb(81, 26, 38);
/* oklch */ color: oklch(30.8% 0.083 10.1);
Tailwind
colors: {
  custom: {
    50: '#855a60',
    500: '#511a26',
    950: '#000000',
  },
}
SCSS
$custom: #511a26;
$custom-light: #855a60;
$custom-dark: #000000;
JSON
{
  "hex": "#511a26",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 346.909,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30785,
    "c": 0.0828,
    "h": 10.1
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#511A26
secondary
#408778
accent
#DBBC4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511A26

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

Preview Lab → · Contrast checker → · Palette generator →

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