#512D34#512D34

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

Color values

HEX#512D34
RGBrgb(81, 45, 52)
HSLhsl(348, 29%, 25%)
HSVhsv(348, 44%, 32%)
CMYKcmyk(0%, 44.4%, 35.8%, 68.2%)
CIE-LABlab(23.25, 17.55, 2.69)
CIE-LCHlch(23.25, 17.76, 8.71°)
OKLaboklab(34.52% 0.0532 0.0072)
OKLCHoklch(34.52% 0.054 7.7)
XYZxyz(4.9517, 3.8744, 3.7352)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D34 #2D514A
analogous
#512D46 #512D34 #51382D
triadic
#512D34 #34512D #2D3451
tetradic
#512D34 #46512D #2D514A #382D51
square
#512D34 #46512D #2D514A #382D51
split-complementary
#512D34 #2D5138 #2D4651
monochromatic
#140B0D #2A171B #512D34 #78434D #A05967

Accessibility & contrast

On white

11.83
#512D34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#512D34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D34
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D34#FFFFFF#000000##FFFFFF
##512D341.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#3C3A33
Tritanopia (blue-blind)
#572A2F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512d34;
/* rgb */ color: rgb(81, 45, 52);
/* oklch */ color: oklch(34.5% 0.054 7.7);
Tailwind
colors: {
  custom: {
    50: '#83666b',
    500: '#512d34',
    950: '#000000',
  },
}
SCSS
$custom: #512d34;
$custom-light: #83666b;
$custom-dark: #000000;
JSON
{
  "hex": "#512d34",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 52
  },
  "hsl": {
    "h": 348.333,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34516,
    "c": 0.05371,
    "h": 7.7
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#512D34
secondary
#57837A
accent
#C5B263
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A

Preview Lab

Preview with #512D34

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

Preview Lab → · Contrast checker → · Palette generator →

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