#511A2C#511A2C

#511A2C is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.0% C 0.084 H 3.1°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#511A2C
RGBrgb(81, 26, 44)
HSLhsl(340, 51%, 21%)
HSVhsv(340, 68%, 32%)
CMYKcmyk(0%, 67.9%, 45.7%, 68.2%)
CIE-LABlab(18.67, 27.56, 1.63)
CIE-LCHlch(18.67, 27.61, 3.39°)
OKLaboklab(30.98% 0.0841 0.0045)
OKLCHoklch(30.98% 0.084 3.1)
XYZxyz(4.2176, 2.6705, 2.6757)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2C #1A513F
analogous
#511A47 #511A2C #51231A
triadic
#511A2C #2C511A #1A2C51
tetradic
#511A2C #47511A #1A513F #231A51
square
#511A2C #47511A #1A513F #231A51
split-complementary
#511A2C #1A5123 #1A4751
monochromatic
#17070D #230B13 #511A2C #7F2945 #AE385E

Accessibility & contrast

On white

13.69
#511A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A2C
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2C#FFFFFF#000000##FFFFFF
##511A2C1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272C
Deuteranopia (green-blind)
#33312B
Tritanopia (blue-blind)
#581421
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a2c;
/* rgb */ color: rgb(81, 26, 44);
/* oklch */ color: oklch(31.0% 0.084 3.1);
Tailwind
colors: {
  custom: {
    50: '#855a64',
    500: '#511a2c',
    950: '#000000',
  },
}
SCSS
$custom: #511a2c;
$custom-light: #855a64;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2c",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 340.364,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30981,
    "c": 0.08425,
    "h": 3.1
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#511A2C
secondary
#408770
accent
#DBAC4D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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