#511A25#511A25

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

Color values

HEX#511A25
RGBrgb(81, 26, 37)
HSLhsl(348, 51%, 21%)
HSVhsv(348, 68%, 32%)
CMYKcmyk(0%, 67.9%, 54.3%, 68.2%)
CIE-LABlab(18.46, 26.77, 6.30)
CIE-LCHlch(18.46, 27.50, 13.24°)
OKLaboklab(30.76% 0.0811 0.0161)
OKLCHoklch(30.76% 0.083 11.2)
XYZxyz(4.0970, 2.6222, 2.0403)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A25 #1A5146
analogous
#511A40 #511A25 #512A1A
triadic
#511A25 #25511A #1A2551
tetradic
#511A25 #40511A #1A5146 #2A1A51
square
#511A25 #40511A #1A5146 #2A1A51
split-complementary
#511A25 #1A512A #1A4051
monochromatic
#17070B #230B10 #511A25 #7F293A #AE384F

Accessibility & contrast

On white

13.78
#511A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#511A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A25
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A25#FFFFFF#000000##FFFFFF
##511A251.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262625
Deuteranopia (green-blind)
#343124
Tritanopia (blue-blind)
#59121E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a25;
/* rgb */ color: rgb(81, 26, 37);
/* oklch */ color: oklch(30.8% 0.083 11.2);
Tailwind
colors: {
  custom: {
    50: '#855a5f',
    500: '#511a25',
    950: '#000000',
  },
}
SCSS
$custom: #511a25;
$custom-light: #855a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#511a25",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 37
  },
  "hsl": {
    "h": 348,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30755,
    "c": 0.08266,
    "h": 11.2
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#511A25
secondary
#408779
accent
#DBBE4D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511A25

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

Preview Lab → · Contrast checker → · Palette generator →

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