#511A3B#511A3B

#511A3B is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.092 H 346.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#511A3B
RGBrgb(81, 26, 59)
HSLhsl(324, 51%, 21%)
HSVhsv(324, 68%, 32%)
CMYKcmyk(0%, 67.9%, 27.2%, 68.2%)
CIE-LABlab(19.24, 29.67, -8.07)
CIE-LCHlch(19.24, 30.75, 344.79°)
OKLaboklab(31.59% 0.0895 -0.0213)
OKLCHoklch(31.59% 0.092 346.6)
XYZxyz(4.5523, 2.8043, 4.4384)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A3B #1A5130
analogous
#4B1A51 #511A3B #511A1F
triadic
#511A3B #3B511A #1A3B51
tetradic
#511A3B #514B1A #1A5130 #1A1F51
square
#511A3B #514B1A #1A5130 #1A1F51
split-complementary
#511A3B #1F511A #1A514B
monochromatic
#170711 #230B19 #511A3B #7F295D #AE387E

Accessibility & contrast

On white

13.45
#511A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A3B
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A3B#FFFFFF#000000##FFFFFF
##511A3B1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20293C
Deuteranopia (green-blind)
#30323A
Tritanopia (blue-blind)
#571928
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a3b;
/* rgb */ color: rgb(81, 26, 59);
/* oklch */ color: oklch(31.6% 0.092 346.6);
Tailwind
colors: {
  custom: {
    50: '#845a71',
    500: '#511a3b',
    950: '#000000',
  },
}
SCSS
$custom: #511a3b;
$custom-light: #845a71;
$custom-dark: #000000;
JSON
{
  "hex": "#511a3b",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 59
  },
  "hsl": {
    "h": 324,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3159,
    "c": 0.09204,
    "h": 346.6
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#511A3B
secondary
#40875C
accent
#DB864D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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