#512D35#512D35

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

Color values

HEX#512D35
RGBrgb(81, 45, 53)
HSLhsl(347, 29%, 25%)
HSVhsv(347, 44%, 32%)
CMYKcmyk(0%, 44.4%, 34.6%, 68.2%)
CIE-LABlab(23.28, 17.71, 2.06)
CIE-LCHlch(23.28, 17.83, 6.62°)
OKLaboklab(34.55% 0.0537 0.0056)
OKLCHoklch(34.55% 0.054 5.9)
XYZxyz(4.9745, 3.8835, 3.8551)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D35 #2D5149
analogous
#512D47 #512D35 #51372D
triadic
#512D35 #35512D #2D3551
tetradic
#512D35 #47512D #2D5149 #372D51
square
#512D35 #47512D #2D5149 #372D51
split-complementary
#512D35 #2D5137 #2D4751
monochromatic
#140B0D #2A171B #512D35 #78434F #A05968

Accessibility & contrast

On white

11.82
#512D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512D35
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D35#FFFFFF#000000##FFFFFF
##512D351.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333335
Deuteranopia (green-blind)
#3C3A34
Tritanopia (blue-blind)
#572A30
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512d35;
/* rgb */ color: rgb(81, 45, 53);
/* oklch */ color: oklch(34.5% 0.054 5.9);
Tailwind
colors: {
  custom: {
    50: '#83666c',
    500: '#512d35',
    950: '#000000',
  },
}
SCSS
$custom: #512d35;
$custom-light: #83666c;
$custom-dark: #000000;
JSON
{
  "hex": "#512d35",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 53
  },
  "hsl": {
    "h": 346.667,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3455,
    "c": 0.05396,
    "h": 5.9
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#512D35
secondary
#578379
accent
#C5AF63
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A

Preview Lab

Preview with #512D35

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

Preview Lab → · Contrast checker → · Palette generator →

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