#511A2F#511A2F

#511A2F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.1% C 0.085 H 359.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#511A2F
RGBrgb(81, 26, 47)
HSLhsl(337, 51%, 21%)
HSVhsv(337, 68%, 32%)
CMYKcmyk(0%, 67.9%, 42%, 68.2%)
CIE-LABlab(18.77, 27.95, -0.34)
CIE-LCHlch(18.77, 27.95, 359.30°)
OKLaboklab(31.09% 0.0854 -0.0005)
OKLCHoklch(31.09% 0.085 359.6)
XYZxyz(4.2761, 2.6938, 2.9835)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2F #1A513C
analogous
#511A4A #511A2F #51201A
triadic
#511A2F #2F511A #1A2F51
tetradic
#511A2F #4A511A #1A513C #201A51
square
#511A2F #4A511A #1A513C #201A51
split-complementary
#511A2F #1A5120 #1A4A51
monochromatic
#17070D #230B14 #511A2F #7F294A #AE3865

Accessibility & contrast

On white

13.65
#511A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A2F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2F#FFFFFF#000000##FFFFFF
##511A2F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242730
Deuteranopia (green-blind)
#33322E
Tritanopia (blue-blind)
#581522
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511a2f;
/* rgb */ color: rgb(81, 26, 47);
/* oklch */ color: oklch(31.1% 0.085 359.6);
Tailwind
colors: {
  custom: {
    50: '#855a67',
    500: '#511a2f',
    950: '#000000',
  },
}
SCSS
$custom: #511a2f;
$custom-light: #855a67;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2f",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 337.091,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31089,
    "c": 0.08535,
    "h": 359.6
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#511A2F
secondary
#40876C
accent
#DBA54D
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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