#511D38#511D38

#511D38 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.085 H 350.7°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#511D38
RGBrgb(81, 29, 56)
HSLhsl(329, 47%, 22%)
HSVhsv(329, 64%, 32%)
CMYKcmyk(0%, 64.2%, 30.9%, 68.2%)
CIE-LABlab(19.70, 27.64, -5.29)
CIE-LCHlch(19.70, 28.14, 349.16°)
OKLaboklab(31.89% 0.0838 -0.0137)
OKLCHoklch(31.89% 0.085 350.7)
XYZxyz(4.5467, 2.9140, 4.0636)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D38 #1D5136
analogous
#501D51 #511D38 #511D1E
triadic
#511D38 #38511D #1D3851
tetradic
#511D38 #51501D #1D5136 #1D1E51
square
#511D38 #51501D #1D5136 #1D1E51
split-complementary
#511D38 #1E511D #1D5150
monochromatic
#170810 #240D19 #511D38 #7E2D57 #AB3D76

Accessibility & contrast

On white

13.27
#511D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D38
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D38#FFFFFF#000000##FFFFFF
##511D381.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A39
Deuteranopia (green-blind)
#323337
Tritanopia (blue-blind)
#571B28
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511d38;
/* rgb */ color: rgb(81, 29, 56);
/* oklch */ color: oklch(31.9% 0.085 350.7);
Tailwind
colors: {
  custom: {
    50: '#845c6e',
    500: '#511d38',
    950: '#000000',
  },
}
SCSS
$custom: #511d38;
$custom-light: #845c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#511d38",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 328.846,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31885,
    "c": 0.0849,
    "h": 350.7
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#511D38
secondary
#448664
accent
#D79151
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511D38

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

Preview Lab → · Contrast checker → · Palette generator →

#511D38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva