#511B29#511B29

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

Color values

HEX#511B29
RGBrgb(81, 27, 41)
HSLhsl(344, 50%, 21%)
HSVhsv(344, 67%, 32%)
CMYKcmyk(0%, 66.7%, 49.4%, 68.2%)
CIE-LABlab(18.77, 26.68, 3.90)
CIE-LCHlch(18.77, 26.97, 8.32°)
OKLaboklab(31.03% 0.0812 0.0103)
OKLCHoklch(31.03% 0.082 7.2)
XYZxyz(4.1858, 2.6938, 2.3969)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B29 #1B5143
analogous
#511B44 #511B29 #51281B
triadic
#511B29 #29511B #1B2951
tetradic
#511B29 #44511B #1B5143 #281B51
square
#511B29 #44511B #1B5143 #281B51
split-complementary
#511B29 #1B5128 #1B4451
monochromatic
#17080C #230C12 #511B29 #7F2A40 #AD3A57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511B29#FFFFFF#000000##FFFFFF
##511B291.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)
#262729
Deuteranopia (green-blind)
#343228
Tritanopia (blue-blind)
#581420
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b29;
/* rgb */ color: rgb(81, 27, 41);
/* oklch */ color: oklch(31.0% 0.082 7.2);
Tailwind
colors: {
  custom: {
    50: '#855a62',
    500: '#511b29',
    950: '#000000',
  },
}
SCSS
$custom: #511b29;
$custom-light: #855a62;
$custom-dark: #000000;
JSON
{
  "hex": "#511b29",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 344.444,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31025,
    "c": 0.08185,
    "h": 7.2
  },
  "luminance": 0.02693
}

Semantic roles & 50–950 ramp

primary
#511B29
secondary
#418775
accent
#DAB54E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511B29

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

Preview Lab → · Contrast checker → · Palette generator →

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