#511E2B#511E2B

#511E2B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.5% C 0.077 H 6.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#511E2B
RGBrgb(81, 30, 43)
HSLhsl(345, 46%, 22%)
HSVhsv(345, 63%, 32%)
CMYKcmyk(0%, 63%, 46.9%, 68.2%)
CIE-LABlab(19.44, 25.30, 3.45)
CIE-LCHlch(19.44, 25.53, 7.76°)
OKLaboklab(31.55% 0.077 0.0091)
OKLCHoklch(31.55% 0.078 6.8)
XYZxyz(4.2939, 2.8528, 2.6095)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E2B #1E5144
analogous
#511E45 #511E2B #512B1E
triadic
#511E2B #2B511E #1E2B51
tetradic
#511E2B #45511E #1E5144 #2B1E51
square
#511E2B #45511E #1E5144 #2B1E51
split-complementary
#511E2B #1E512B #1E4551
monochromatic
#16080C #240D13 #511E2B #7E2F43 #AA3F5A

Accessibility & contrast

On white

13.37
#511E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E2B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E2B#FFFFFF#000000##FFFFFF
##511E2B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#35332A
Tritanopia (blue-blind)
#581823
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e2b;
/* rgb */ color: rgb(81, 30, 43);
/* oklch */ color: oklch(31.5% 0.077 6.8);
Tailwind
colors: {
  custom: {
    50: '#855c64',
    500: '#511e2b',
    950: '#000000',
  },
}
SCSS
$custom: #511e2b;
$custom-light: #855c64;
$custom-dark: #000000;
JSON
{
  "hex": "#511e2b",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 344.706,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31547,
    "c": 0.0775,
    "h": 6.8
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#511E2B
secondary
#458675
accent
#D6B452
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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