#511D2E#511D2E

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

Color values

HEX#511D2E
RGBrgb(81, 29, 46)
HSLhsl(340, 47%, 22%)
HSVhsv(340, 64%, 32%)
CMYKcmyk(0%, 64.2%, 43.2%, 68.2%)
CIE-LABlab(19.33, 26.23, 1.18)
CIE-LCHlch(19.33, 26.25, 2.57°)
OKLaboklab(31.49% 0.08 0.0034)
OKLCHoklch(31.49% 0.08 2.4)
XYZxyz(4.3261, 2.8258, 2.9018)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D2E #1D5140
analogous
#511D48 #511D2E #51261D
triadic
#511D2E #2E511D #1D2E51
tetradic
#511D2E #48511D #1D5140 #261D51
square
#511D2E #48511D #1D5140 #261D51
split-complementary
#511D2E #1D5126 #1D4851
monochromatic
#17080D #240D14 #511D2E #7E2D48 #AB3D61

Accessibility & contrast

On white

13.42
#511D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511D2E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D2E#FFFFFF#000000##FFFFFF
##511D2E1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292E
Deuteranopia (green-blind)
#34332D
Tritanopia (blue-blind)
#581823
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d2e;
/* rgb */ color: rgb(81, 29, 46);
/* oklch */ color: oklch(31.5% 0.080 2.4);
Tailwind
colors: {
  custom: {
    50: '#855c66',
    500: '#511d2e',
    950: '#000000',
  },
}
SCSS
$custom: #511d2e;
$custom-light: #855c66;
$custom-dark: #000000;
JSON
{
  "hex": "#511d2e",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 340.385,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31494,
    "c": 0.08004,
    "h": 2.4
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#511D2E
secondary
#448670
accent
#D7AB51
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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