#511C26#511C26

#511C26 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.080 H 11.5°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#511C26
RGBrgb(81, 28, 38)
HSLhsl(349, 49%, 21%)
HSVhsv(349, 65%, 32%)
CMYKcmyk(0%, 65.4%, 53.1%, 68.2%)
CIE-LABlab(18.89, 25.81, 6.18)
CIE-LCHlch(18.89, 26.54, 13.47°)
OKLaboklab(31.08% 0.0782 0.0159)
OKLCHoklch(31.08% 0.08 11.5)
XYZxyz(4.1588, 2.7203, 2.1394)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C26 #1C5147
analogous
#511C41 #511C26 #512D1C
triadic
#511C26 #26511C #1C2651
tetradic
#511C26 #41511C #1C5147 #2D1C51
square
#511C26 #41511C #1C5147 #2D1C51
split-complementary
#511C26 #1C512D #1C4151
monochromatic
#17080B #240C11 #511C26 #7E2C3B #AC3B51

Accessibility & contrast

On white

13.60
#511C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C26
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C26#FFFFFF#000000##FFFFFF
##511C261.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282726
Deuteranopia (green-blind)
#353225
Tritanopia (blue-blind)
#591420
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c26;
/* rgb */ color: rgb(81, 28, 38);
/* oklch */ color: oklch(31.1% 0.080 11.5);
Tailwind
colors: {
  custom: {
    50: '#855b60',
    500: '#511c26',
    950: '#000000',
  },
}
SCSS
$custom: #511c26;
$custom-light: #855b60;
$custom-dark: #000000;
JSON
{
  "hex": "#511c26",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 348.679,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31082,
    "c": 0.07976,
    "h": 11.5
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#511C26
secondary
#42877A
accent
#D8BE50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511C26

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

Preview Lab → · Contrast checker → · Palette generator →

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