#512D3D#512D3D

#512D3D is a dark, muted pink. Relative luminance 0.040; OKLCH L 34.8% C 0.058 H 352.4°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#512D3D
RGBrgb(81, 45, 61)
HSLhsl(333, 29%, 25%)
HSVhsv(333, 44%, 32%)
CMYKcmyk(0%, 44.4%, 24.7%, 68.2%)
CIE-LABlab(23.55, 19.02, -2.98)
CIE-LCHlch(23.55, 19.25, 351.09°)
OKLaboklab(34.84% 0.057 -0.0076)
OKLCHoklch(34.84% 0.058 352.4)
XYZxyz(5.1741, 3.9634, 4.9065)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512D3D #2D5141
analogous
#512D4F #512D3D #512F2D
triadic
#512D3D #3D512D #2D3D51
tetradic
#512D3D #4F512D #2D5141 #2F2D51
square
#512D3D #4F512D #2D5141 #2F2D51
split-complementary
#512D3D #2D512F #2D4F51
monochromatic
#140B0F #2A171F #512D3D #78435B #A05978

Accessibility & contrast

On white

11.71
#512D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#512D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512D3D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512D3D#FFFFFF#000000##FFFFFF
##512D3D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343E
Deuteranopia (green-blind)
#3A3A3C
Tritanopia (blue-blind)
#562C33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #512d3d;
/* rgb */ color: rgb(81, 45, 61);
/* oklch */ color: oklch(34.8% 0.058 352.4);
Tailwind
colors: {
  custom: {
    50: '#836772',
    500: '#512d3d',
    950: '#000000',
  },
}
SCSS
$custom: #512d3d;
$custom-light: #836772;
$custom-dark: #000000;
JSON
{
  "hex": "#512d3d",
  "rgb": {
    "r": 81,
    "g": 45,
    "b": 61
  },
  "hsl": {
    "h": 333.333,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34841,
    "c": 0.05755,
    "h": 352.4
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#512D3D
secondary
#57836F
accent
#C59963
background
#F8F6F6
surface
#EFEBEC
border
#CAC6C7
text
#0B0608
muted
#7C7A7B

Preview Lab

Preview with #512D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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