#511A2D#511A2D

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

Color values

HEX#511A2D
RGBrgb(81, 26, 45)
HSLhsl(339, 51%, 21%)
HSVhsv(339, 68%, 32%)
CMYKcmyk(0%, 67.9%, 44.4%, 68.2%)
CIE-LABlab(18.71, 27.69, 0.97)
CIE-LCHlch(18.71, 27.71, 2.01°)
OKLaboklab(31.02% 0.0845 0.0029)
OKLCHoklch(31.02% 0.085 1.9)
XYZxyz(4.2367, 2.6781, 2.7759)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A2D #1A513E
analogous
#511A48 #511A2D #51221A
triadic
#511A2D #2D511A #1A2D51
tetradic
#511A2D #48511A #1A513E #221A51
square
#511A2D #48511A #1A513E #221A51
split-complementary
#511A2D #1A5122 #1A4851
monochromatic
#17070D #230B13 #511A2D #7F2947 #AE3860

Accessibility & contrast

On white

13.68
#511A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511A2D
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A2D#FFFFFF#000000##FFFFFF
##511A2D1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#33312C
Tritanopia (blue-blind)
#581421
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a2d;
/* rgb */ color: rgb(81, 26, 45);
/* oklch */ color: oklch(31.0% 0.085 1.9);
Tailwind
colors: {
  custom: {
    50: '#855a65',
    500: '#511a2d',
    950: '#000000',
  },
}
SCSS
$custom: #511a2d;
$custom-light: #855a65;
$custom-dark: #000000;
JSON
{
  "hex": "#511a2d",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 339.273,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31016,
    "c": 0.08459,
    "h": 1.9
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#511A2D
secondary
#40876E
accent
#DBAA4D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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