#511C2A#511C2A

#511C2A is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.080 H 6.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#511C2A
RGBrgb(81, 28, 42)
HSLhsl(344, 49%, 21%)
HSVhsv(344, 65%, 32%)
CMYKcmyk(0%, 65.4%, 48.1%, 68.2%)
CIE-LABlab(19.00, 26.27, 3.52)
CIE-LCHlch(19.00, 26.50, 7.64°)
OKLaboklab(31.21% 0.0799 0.0093)
OKLCHoklch(31.21% 0.08 6.6)
XYZxyz(4.2268, 2.7475, 2.4978)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2A #1C5143
analogous
#511C45 #511C2A #51291C
triadic
#511C2A #2A511C #1C2A51
tetradic
#511C2A #45511C #1C5143 #291C51
square
#511C2A #45511C #1C5143 #291C51
split-complementary
#511C2A #1C5129 #1C4551
monochromatic
#17080C #240C12 #511C2A #7E2C42 #AC3B59

Accessibility & contrast

On white

13.55
#511C2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C2A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2A#FFFFFF#000000##FFFFFF
##511C2A1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c2a;
/* rgb */ color: rgb(81, 28, 42);
/* oklch */ color: oklch(31.2% 0.080 6.6);
Tailwind
colors: {
  custom: {
    50: '#855b63',
    500: '#511c2a',
    950: '#000000',
  },
}
SCSS
$custom: #511c2a;
$custom-light: #855b63;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2a",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 344.151,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.08049,
    "h": 6.6
  },
  "luminance": 0.02747
}

Semantic roles & 50–950 ramp

primary
#511C2A
secondary
#428775
accent
#D8B450
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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