#511B2E#511B2E

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

Color values

HEX#511B2E
RGBrgb(81, 27, 46)
HSLhsl(339, 50%, 21%)
HSVhsv(339, 67%, 32%)
CMYKcmyk(0%, 66.7%, 43.2%, 68.2%)
CIE-LABlab(18.93, 27.30, 0.60)
CIE-LCHlch(18.93, 27.30, 1.25°)
OKLaboklab(31.2% 0.0833 0.0019)
OKLCHoklch(31.2% 0.083 1.3)
XYZxyz(4.2787, 2.7309, 2.8860)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B2E #1B513E
analogous
#511B49 #511B2E #51231B
triadic
#511B2E #2E511B #1B2E51
tetradic
#511B2E #49511B #1B513E #231B51
square
#511B2E #49511B #1B513E #231B51
split-complementary
#511B2E #1B5123 #1B4951
monochromatic
#17080D #230C14 #511B2E #7F2A48 #AD3A62

Accessibility & contrast

On white

13.58
#511B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B2E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B2E#FFFFFF#000000##FFFFFF
##511B2E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25272F
Deuteranopia (green-blind)
#33322D
Tritanopia (blue-blind)
#581622
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b2e;
/* rgb */ color: rgb(81, 27, 46);
/* oklch */ color: oklch(31.2% 0.083 1.3);
Tailwind
colors: {
  custom: {
    50: '#855b66',
    500: '#511b2e',
    950: '#000000',
  },
}
SCSS
$custom: #511b2e;
$custom-light: #855b66;
$custom-dark: #000000;
JSON
{
  "hex": "#511b2e",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 338.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31196,
    "c": 0.08334,
    "h": 1.3
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#511B2E
secondary
#41876E
accent
#DAA94E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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