#512E2E#512E2E

#512E2E is a dark, muted red. Relative luminance 0.039; OKLCH L 34.5% C 0.052 H 20.1°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#512E2E
RGBrgb(81, 46, 46)
HSLhsl(0, 28%, 25%)
HSVhsv(0, 43%, 32%)
CMYKcmyk(0%, 43.2%, 43.2%, 68.2%)
CIE-LABlab(23.34, 16.05, 6.88)
CIE-LCHlch(23.34, 17.47, 23.21°)
OKLaboklab(34.53% 0.0486 0.0177)
OKLCHoklch(34.53% 0.052 20.1)
XYZxyz(4.8637, 3.9010, 3.0810)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E2E #2E5151
analogous
#512E40 #512E2E #51402E
triadic
#512E2E #2E512E #2E2E51
tetradic
#512E2E #40512E #2E5151 #402E51
square
#512E2E #40512E #2E5151 #402E51
split-complementary
#512E2E #2E5140 #2E4051
monochromatic
#140B0B #2A1818 #512E2E #784444 #9F5A5A

Accessibility & contrast

On white

11.80
#512E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#512E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512E2E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E2E#FFFFFF#000000##FFFFFF
##512E2E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35332E
Deuteranopia (green-blind)
#3E3A2D
Tritanopia (blue-blind)
#572A2E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #512e2e;
/* rgb */ color: rgb(81, 46, 46);
/* oklch */ color: oklch(34.5% 0.052 20.1);
Tailwind
colors: {
  custom: {
    50: '#836766',
    500: '#512e2e',
    950: '#000000',
  },
}
SCSS
$custom: #512e2e;
$custom-light: #836766;
$custom-dark: #000000;
JSON
{
  "hex": "#512e2e",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 46
  },
  "hsl": {
    "h": 0,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.05168,
    "h": 20.1
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#512E2E
secondary
#588383
accent
#C4C464
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A

Preview Lab

Preview with #512E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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