#511A3D#511A3D

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

Color values

HEX#511A3D
RGBrgb(81, 26, 61)
HSLhsl(322, 51%, 21%)
HSVhsv(322, 68%, 32%)
CMYKcmyk(0%, 67.9%, 24.7%, 68.2%)
CIE-LABlab(19.33, 29.99, -9.33)
CIE-LCHlch(19.33, 31.41, 342.73°)
OKLaboklab(31.69% 0.0901 -0.0248)
OKLCHoklch(31.69% 0.093 344.6)
XYZxyz(4.6052, 2.8255, 4.7168)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A3D #1A512E
analogous
#491A51 #511A3D #511A21
triadic
#511A3D #3D511A #1A3D51
tetradic
#511A3D #51491A #1A512E #1A2151
square
#511A3D #51491A #1A512E #1A2151
split-complementary
#511A3D #21511A #1A5149
monochromatic
#170711 #230B1A #511A3D #7F2960 #AE3883

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511A3D#FFFFFF#000000##FFFFFF
##511A3D1.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)
#1F293E
Deuteranopia (green-blind)
#2F323C
Tritanopia (blue-blind)
#561A29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a3d;
/* rgb */ color: rgb(81, 26, 61);
/* oklch */ color: oklch(31.7% 0.093 344.6);
Tailwind
colors: {
  custom: {
    50: '#845a72',
    500: '#511a3d',
    950: '#000000',
  },
}
SCSS
$custom: #511a3d;
$custom-light: #845a72;
$custom-dark: #000000;
JSON
{
  "hex": "#511a3d",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 321.818,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31685,
    "c": 0.09345,
    "h": 344.6
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#511A3D
secondary
#40875A
accent
#DB814D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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