#512E2F#512E2F

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

Color values

HEX#512E2F
RGBrgb(81, 46, 47)
HSLhsl(358, 28%, 25%)
HSVhsv(358, 43%, 32%)
CMYKcmyk(0%, 43.2%, 42%, 68.2%)
CIE-LABlab(23.37, 16.19, 6.25)
CIE-LCHlch(23.37, 17.35, 21.09°)
OKLaboklab(34.56% 0.049 0.0162)
OKLCHoklch(34.56% 0.052 18.2)
XYZxyz(4.8836, 3.9090, 3.1861)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E2F #2E5150
analogous
#512E40 #512E2F #513F2E
triadic
#512E2F #2F512E #2E2F51
tetradic
#512E2F #40512E #2E5150 #3F2E51
square
#512E2F #40512E #2E5150 #3F2E51
split-complementary
#512E2F #2E513F #2E4051
monochromatic
#140B0B #2A1818 #512E2F #784446 #9F5A5C

Accessibility & contrast

On white

11.79
#512E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512E2F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E2F#FFFFFF#000000##FFFFFF
##512E2F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#3D3A2E
Tritanopia (blue-blind)
#572A2F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #512e2f;
/* rgb */ color: rgb(81, 46, 47);
/* oklch */ color: oklch(34.6% 0.052 18.2);
Tailwind
colors: {
  custom: {
    50: '#836767',
    500: '#512e2f',
    950: '#000000',
  },
}
SCSS
$custom: #512e2f;
$custom-light: #836767;
$custom-dark: #000000;
JSON
{
  "hex": "#512e2f",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 358.286,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34558,
    "c": 0.0516,
    "h": 18.2
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#512E2F
secondary
#588381
accent
#C4C164
background
#F8F6F6
surface
#EFEBEB
border
#CAC6C6
text
#0B0606
muted
#7C7A7A

Preview Lab

Preview with #512E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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