#512E27#512E27

#512E27 is a dark, muted red. Relative luminance 0.038; OKLCH L 34.3% C 0.053 H 32.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#512E27
RGBrgb(81, 46, 39)
HSLhsl(10, 35%, 24%)
HSVhsv(10, 52%, 32%)
CMYKcmyk(0%, 43.2%, 51.9%, 68.2%)
CIE-LABlab(23.17, 15.16, 11.36)
CIE-LCHlch(23.17, 18.95, 36.83°)
OKLaboklab(34.34% 0.0452 0.0284)
OKLCHoklch(34.34% 0.053 32.1)
XYZxyz(4.7368, 3.8502, 2.4128)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512E27 #274A51
analogous
#512735 #512E27 #514327
triadic
#512E27 #27512E #2E2751
tetradic
#512E27 #355127 #274A51 #432751
square
#512E27 #355127 #274A51 #432751
split-complementary
#512E27 #275143 #273551
monochromatic
#150C0A #281713 #512E27 #7A453B #A45D4F

Accessibility & contrast

On white

11.86
#512E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512E27
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512E27#FFFFFF#000000##FFFFFF
##512E271.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#3F3A27
Tritanopia (blue-blind)
#58292C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #512e27;
/* rgb */ color: rgb(81, 46, 39);
/* oklch */ color: oklch(34.3% 0.053 32.1);
Tailwind
colors: {
  custom: {
    50: '#846761',
    500: '#512e27',
    950: '#000000',
  },
}
SCSS
$custom: #512e27;
$custom-light: #846761;
$custom-dark: #000000;
JSON
{
  "hex": "#512e27",
  "rgb": {
    "r": 81,
    "g": 46,
    "b": 39
  },
  "hsl": {
    "h": 10,
    "s": 35,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.05339,
    "h": 32.1
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#512E27
secondary
#507B84
accent
#B9CB5D
background
#F8F6F5
surface
#EFEBE9
border
#CAC6C5
text
#0B0605
muted
#7C7A79

Preview Lab

Preview with #512E27

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

Preview Lab → · Contrast checker → · Palette generator →

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