#511A2A#511A2A

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

Color values

HEX#511A2A
RGBrgb(81, 26, 42)
HSLhsl(343, 51%, 21%)
HSVhsv(343, 68%, 32%)
CMYKcmyk(0%, 67.9%, 48.1%, 68.2%)
CIE-LABlab(18.61, 27.32, 2.96)
CIE-LCHlch(18.61, 27.48, 6.18°)
OKLaboklab(30.91% 0.0833 0.0079)
OKLCHoklch(30.91% 0.084 5.4)
XYZxyz(4.1809, 2.6558, 2.4825)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2A #1A5141
analogous
#511A45 #511A2A #51251A
triadic
#511A2A #2A511A #1A2A51
tetradic
#511A2A #45511A #1A5141 #251A51
square
#511A2A #45511A #1A5141 #251A51
split-complementary
#511A2A #1A5125 #1A4551
monochromatic
#17070C #230B12 #511A2A #7F2942 #AE385A

Accessibility & contrast

On white

13.72
#511A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A2A
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2A#FFFFFF#000000##FFFFFF
##511A2A1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272A
Deuteranopia (green-blind)
#343129
Tritanopia (blue-blind)
#581320
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a2a;
/* rgb */ color: rgb(81, 26, 42);
/* oklch */ color: oklch(30.9% 0.084 5.4);
Tailwind
colors: {
  custom: {
    50: '#855a63',
    500: '#511a2a',
    950: '#000000',
  },
}
SCSS
$custom: #511a2a;
$custom-light: #855a63;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2a",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 342.545,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30913,
    "c": 0.08365,
    "h": 5.4
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#511A2A
secondary
#408772
accent
#DBB24D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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