#511B2A#511B2A

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

Color values

HEX#511B2A
RGBrgb(81, 27, 42)
HSLhsl(343, 50%, 21%)
HSVhsv(343, 67%, 32%)
CMYKcmyk(0%, 66.7%, 48.1%, 68.2%)
CIE-LABlab(18.80, 26.80, 3.24)
CIE-LCHlch(18.80, 27.00, 6.89°)
OKLaboklab(31.06% 0.0816 0.0086)
OKLCHoklch(31.06% 0.082 6)
XYZxyz(4.2035, 2.7009, 2.4900)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B2A #1B5142
analogous
#511B45 #511B2A #51271B
triadic
#511B2A #2A511B #1B2A51
tetradic
#511B2A #45511B #1B5142 #271B51
square
#511B2A #45511B #1B5142 #271B51
split-complementary
#511B2A #1B5127 #1B4551
monochromatic
#17080C #230C12 #511B2A #7F2A42 #AD3A5A

Accessibility & contrast

On white

13.64
#511B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B2A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B2A#FFFFFF#000000##FFFFFF
##511B2A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#343229
Tritanopia (blue-blind)
#581421
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b2a;
/* rgb */ color: rgb(81, 27, 42);
/* oklch */ color: oklch(31.1% 0.082 6.0);
Tailwind
colors: {
  custom: {
    50: '#855a63',
    500: '#511b2a',
    950: '#000000',
  },
}
SCSS
$custom: #511b2a;
$custom-light: #855a63;
$custom-dark: #000000;
JSON
{
  "hex": "#511b2a",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 343.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31058,
    "c": 0.08208,
    "h": 6
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#511B2A
secondary
#418773
accent
#DAB34E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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