#512D2A#512D2A

#512D2A is a dark, muted red. Relative luminance 0.038; OKLCH L 34.2% C 0.054 H 25.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#512D2A
RGBrgb(81, 45, 42)
HSLhsl(5, 32%, 24%)
HSVhsv(5, 48%, 32%)
CMYKcmyk(0%, 44.4%, 48.1%, 68.2%)
CIE-LABlab(22.98, 16.16, 9.08)
CIE-LCHlch(22.98, 18.54, 29.33°)
OKLaboklab(34.22% 0.0486 0.023)
OKLCHoklch(34.22% 0.054 25.3)
XYZxyz(4.7499, 3.7937, 2.6721)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D2A #2A4E51
analogous
#512A3B #512D2A #51412A
triadic
#512D2A #2A512D #2D2A51
tetradic
#512D2A #3B512A #2A4E51 #412A51
square
#512D2A #3B512A #2A4E51 #412A51
split-complementary
#512D2A #2A5141 #2A3B51
monochromatic
#140B0A #291715 #512D2A #79433F #A25A54

Accessibility & contrast

On white

11.94
#512D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#512D2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D2A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D2A#FFFFFF#000000##FFFFFF
##512D2A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35322A
Deuteranopia (green-blind)
#3E3A29
Tritanopia (blue-blind)
#58282C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512d2a;
/* rgb */ color: rgb(81, 45, 42);
/* oklch */ color: oklch(34.2% 0.054 25.3);
Tailwind
colors: {
  custom: {
    50: '#846663',
    500: '#512d2a',
    950: '#000000',
  },
}
SCSS
$custom: #512d2a;
$custom-light: #846663;
$custom-dark: #000000;
JSON
{
  "hex": "#512d2a",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 42
  },
  "hsl": {
    "h": 4.615,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34216,
    "c": 0.05377,
    "h": 25.3
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#512D2A
secondary
#548083
accent
#C0C860
background
#F8F6F5
surface
#EFEBEA
border
#CAC6C6
text
#0B0605
muted
#7C7A79

Preview Lab

Preview with #512D2A

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

Preview Lab → · Contrast checker → · Palette generator →

#512D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva