#511A2B#511A2B

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

Color values

HEX#511A2B
RGBrgb(81, 26, 43)
HSLhsl(341, 51%, 21%)
HSVhsv(341, 68%, 32%)
CMYKcmyk(0%, 67.9%, 46.9%, 68.2%)
CIE-LABlab(18.64, 27.45, 2.30)
CIE-LCHlch(18.64, 27.54, 4.78°)
OKLaboklab(30.95% 0.0837 0.0062)
OKLCHoklch(30.95% 0.084 4.3)
XYZxyz(4.1991, 2.6630, 2.5779)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2B #1A5140
analogous
#511A46 #511A2B #51241A
triadic
#511A2B #2B511A #1A2B51
tetradic
#511A2B #46511A #1A5140 #241A51
square
#511A2B #46511A #1A5140 #241A51
split-complementary
#511A2B #1A5124 #1A4651
monochromatic
#17070C #230B12 #511A2B #7F2944 #AE385C

Accessibility & contrast

On white

13.70
#511A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A2B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2B#FFFFFF#000000##FFFFFF
##511A2B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511a2b;
/* rgb */ color: rgb(81, 26, 43);
/* oklch */ color: oklch(30.9% 0.084 4.3);
Tailwind
colors: {
  custom: {
    50: '#855a64',
    500: '#511a2b',
    950: '#000000',
  },
}
SCSS
$custom: #511a2b;
$custom-light: #855a64;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2b",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 341.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.08394,
    "h": 4.3
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#511A2B
secondary
#408771
accent
#DBAF4D
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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