#511E25#511E25

#511E25 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.4% C 0.077 H 14.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#511E25
RGBrgb(81, 30, 37)
HSLhsl(352, 46%, 22%)
HSVhsv(352, 63%, 32%)
CMYKcmyk(0%, 63%, 54.3%, 68.2%)
CIE-LABlab(19.27, 24.61, 7.42)
CIE-LCHlch(19.27, 25.71, 16.78°)
OKLaboklab(31.36% 0.0743 0.0189)
OKLCHoklch(31.36% 0.077 14.3)
XYZxyz(4.1919, 2.8119, 2.0719)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E25 #1E514A
analogous
#511E3F #511E25 #51311E
triadic
#511E25 #25511E #1E2551
tetradic
#511E25 #3F511E #1E514A #311E51
square
#511E25 #3F511E #1E514A #311E51
split-complementary
#511E25 #1E5131 #1E3F51
monochromatic
#16080A #240D11 #511E25 #7E2F39 #AA3F4E

Accessibility & contrast

On white

13.44
#511E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E25
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E25#FFFFFF#000000##FFFFFF
##511E251.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292825
Deuteranopia (green-blind)
#363324
Tritanopia (blue-blind)
#591721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e25;
/* rgb */ color: rgb(81, 30, 37);
/* oklch */ color: oklch(31.4% 0.077 14.3);
Tailwind
colors: {
  custom: {
    50: '#855c5f',
    500: '#511e25',
    950: '#000000',
  },
}
SCSS
$custom: #511e25;
$custom-light: #855c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#511e25",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 37
  },
  "hsl": {
    "h": 351.765,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31364,
    "c": 0.07662,
    "h": 14.3
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#511E25
secondary
#45867D
accent
#D6C452
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511E25

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

Preview Lab → · Contrast checker → · Palette generator →

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