#511A2E#511A2E

#511A2E is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.085 H 0.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#511A2E
RGBrgb(81, 26, 46)
HSLhsl(338, 51%, 21%)
HSVhsv(338, 68%, 32%)
CMYKcmyk(0%, 67.9%, 43.2%, 68.2%)
CIE-LABlab(18.74, 27.81, 0.32)
CIE-LCHlch(18.74, 27.82, 0.65°)
OKLaboklab(31.05% 0.085 0.0012)
OKLCHoklch(31.05% 0.085 0.8)
XYZxyz(4.2561, 2.6859, 2.8785)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2E #1A513D
analogous
#511A49 #511A2E #51211A
triadic
#511A2E #2E511A #1A2E51
tetradic
#511A2E #49511A #1A513D #211A51
square
#511A2E #49511A #1A513D #211A51
split-complementary
#511A2E #1A5121 #1A4951
monochromatic
#17070D #230B14 #511A2E #7F2948 #AE3863

Accessibility & contrast

On white

13.66
#511A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A2E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2E#FFFFFF#000000##FFFFFF
##511A2E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#33312D
Tritanopia (blue-blind)
#581422
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511a2e;
/* rgb */ color: rgb(81, 26, 46);
/* oklch */ color: oklch(31.1% 0.085 0.8);
Tailwind
colors: {
  custom: {
    50: '#855a66',
    500: '#511a2e',
    950: '#000000',
  },
}
SCSS
$custom: #511a2e;
$custom-light: #855a66;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2e",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 338.182,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.08496,
    "h": 0.8
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#511A2E
secondary
#40876D
accent
#DBA74D
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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