#512C29#512C29

#512C29 is a dark, muted red. Relative luminance 0.037; OKLCH L 34.0% C 0.055 H 25.3°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#512C29
RGBrgb(81, 44, 41)
HSLhsl(5, 33%, 24%)
HSVhsv(5, 49%, 32%)
CMYKcmyk(0%, 45.7%, 49.4%, 68.2%)
CIE-LABlab(22.69, 16.67, 9.37)
CIE-LCHlch(22.69, 19.12, 29.33°)
OKLaboklab(33.99% 0.0501 0.0237)
OKLCHoklch(33.99% 0.055 25.3)
XYZxyz(4.6945, 3.7112, 2.5665)
Luminance0.0371 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512C29 #294E51
analogous
#51293A #512C29 #514029
triadic
#512C29 #29512C #2C2951
tetradic
#512C29 #3A5129 #294E51 #402951
square
#512C29 #3A5129 #294E51 #402951
split-complementary
#512C29 #295140 #293A51
monochromatic
#140B0A #281614 #512C29 #7A423E #A25852

Accessibility & contrast

On white

12.05
#512C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#512C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512C29
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512C29#FFFFFF#000000##FFFFFF
##512C291.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#3D3928
Tritanopia (blue-blind)
#58272B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #512c29;
/* rgb */ color: rgb(81, 44, 41);
/* oklch */ color: oklch(34.0% 0.055 25.3);
Tailwind
colors: {
  custom: {
    50: '#846562',
    500: '#512c29',
    950: '#000000',
  },
}
SCSS
$custom: #512c29;
$custom-light: #846562;
$custom-dark: #000000;
JSON
{
  "hex": "#512c29",
  "rgb": {
    "r": 81,
    "g": 44,
    "b": 41
  },
  "hsl": {
    "h": 4.5,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3399,
    "c": 0.05538,
    "h": 25.3
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#512C29
secondary
#528083
accent
#C1C95F
background
#F8F6F5
surface
#EFEBEA
border
#CAC6C6
text
#0B0605
muted
#7C7A79

Preview Lab

Preview with #512C29

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

Preview Lab → · Contrast checker → · Palette generator →

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