#511D2F#511D2F

#511D2F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.080 H 1.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#511D2F
RGBrgb(81, 29, 47)
HSLhsl(339, 47%, 22%)
HSVhsv(339, 64%, 32%)
CMYKcmyk(0%, 64.2%, 42%, 68.2%)
CIE-LABlab(19.37, 26.36, 0.52)
CIE-LCHlch(19.37, 26.36, 1.14°)
OKLaboklab(31.53% 0.0804 0.0017)
OKLCHoklch(31.53% 0.08 1.2)
XYZxyz(4.3461, 2.8338, 3.0069)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D2F #1D513F
analogous
#511D49 #511D2F #51251D
triadic
#511D2F #2F511D #1D2F51
tetradic
#511D2F #49511D #1D513F #251D51
square
#511D2F #49511D #1D513F #251D51
split-complementary
#511D2F #1D5125 #1D4951
monochromatic
#17080D #240D15 #511D2F #7E2D49 #AB3D63

Accessibility & contrast

On white

13.40
#511D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D2F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D2F#FFFFFF#000000##FFFFFF
##511D2F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262930
Deuteranopia (green-blind)
#34332E
Tritanopia (blue-blind)
#581824
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d2f;
/* rgb */ color: rgb(81, 29, 47);
/* oklch */ color: oklch(31.5% 0.080 1.2);
Tailwind
colors: {
  custom: {
    50: '#845c67',
    500: '#511d2f',
    950: '#000000',
  },
}
SCSS
$custom: #511d2f;
$custom-light: #845c67;
$custom-dark: #000000;
JSON
{
  "hex": "#511d2f",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 339.231,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3153,
    "c": 0.0804,
    "h": 1.2
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#511D2F
secondary
#44866F
accent
#D7A951
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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