#511A3E#511A3E

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

Color values

HEX#511A3E
RGBrgb(81, 26, 62)
HSLhsl(321, 51%, 21%)
HSVhsv(321, 68%, 32%)
CMYKcmyk(0%, 67.9%, 23.5%, 68.2%)
CIE-LABlab(19.38, 30.16, -9.95)
CIE-LCHlch(19.38, 31.76, 341.74°)
OKLaboklab(31.73% 0.0904 -0.0265)
OKLCHoklch(31.73% 0.094 343.7)
XYZxyz(4.6324, 2.8363, 4.8600)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A3E #1A512D
analogous
#481A51 #511A3E #511A22
triadic
#511A3E #3E511A #1A3E51
tetradic
#511A3E #51481A #1A512D #1A2251
square
#511A3E #51481A #1A512D #1A2251
split-complementary
#511A3E #22511A #1A5148
monochromatic
#170712 #230B1B #511A3E #7F2961 #AE3885

Accessibility & contrast

On white

13.40
#511A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A3E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A3E#FFFFFF#000000##FFFFFF
##511A3E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F293F
Deuteranopia (green-blind)
#2F323D
Tritanopia (blue-blind)
#561A29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511a3e;
/* rgb */ color: rgb(81, 26, 62);
/* oklch */ color: oklch(31.7% 0.094 343.7);
Tailwind
colors: {
  custom: {
    50: '#845a73',
    500: '#511a3e',
    950: '#000000',
  },
}
SCSS
$custom: #511a3e;
$custom-light: #845a73;
$custom-dark: #000000;
JSON
{
  "hex": "#511a3e",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 320.727,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31733,
    "c": 0.0942,
    "h": 343.7
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#511A3E
secondary
#408758
accent
#DB7E4D
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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