#511F26#511F26

#511F26 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.6% C 0.075 H 13.9°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#511F26
RGBrgb(81, 31, 38)
HSLhsl(352, 45%, 22%)
HSVhsv(352, 62%, 32%)
CMYKcmyk(0%, 61.7%, 53.1%, 68.2%)
CIE-LABlab(19.51, 24.16, 7.05)
CIE-LCHlch(19.51, 25.17, 16.28°)
OKLaboklab(31.55% 0.073 0.018)
OKLCHoklch(31.55% 0.075 13.9)
XYZxyz(4.2335, 2.8697, 2.1643)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F26 #1F514A
analogous
#511F3F #511F26 #51311F
triadic
#511F26 #26511F #1F2651
tetradic
#511F26 #3F511F #1F514A #311F51
square
#511F26 #3F511F #1F514A #311F51
split-complementary
#511F26 #1F5131 #1F3F51
monochromatic
#16080A #250E11 #511F26 #7D303B #AA4150

Accessibility & contrast

On white

13.34
#511F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F26
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F26#FFFFFF#000000##FFFFFF
##511F261.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2926
Deuteranopia (green-blind)
#373325
Tritanopia (blue-blind)
#591822
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f26;
/* rgb */ color: rgb(81, 31, 38);
/* oklch */ color: oklch(31.6% 0.075 13.9);
Tailwind
colors: {
  custom: {
    50: '#855d60',
    500: '#511f26',
    950: '#000000',
  },
}
SCSS
$custom: #511f26;
$custom-light: #855d60;
$custom-dark: #000000;
JSON
{
  "hex": "#511f26",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 351.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31553,
    "c": 0.07515,
    "h": 13.9
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#511F26
secondary
#46867D
accent
#D4C253
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511F26

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

Preview Lab → · Contrast checker → · Palette generator →

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