#511D2D#511D2D

#511D2D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.080 H 3.6°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#511D2D
RGBrgb(81, 29, 45)
HSLhsl(342, 47%, 22%)
HSVhsv(342, 64%, 32%)
CMYKcmyk(0%, 64.2%, 44.4%, 68.2%)
CIE-LABlab(19.30, 26.10, 1.83)
CIE-LCHlch(19.30, 26.16, 4.02°)
OKLaboklab(31.46% 0.0796 0.0051)
OKLCHoklch(31.46% 0.08 3.6)
XYZxyz(4.3066, 2.8180, 2.7992)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D2D #1D5141
analogous
#511D47 #511D2D #51271D
triadic
#511D2D #2D511D #1D2D51
tetradic
#511D2D #47511D #1D5141 #271D51
square
#511D2D #47511D #1D5141 #271D51
split-complementary
#511D2D #1D5127 #1D4751
monochromatic
#17080D #240D14 #511D2D #7E2D46 #AB3D5F

Accessibility & contrast

On white

13.43
#511D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D2D
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D2D#FFFFFF#000000##FFFFFF
##511D2D1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27282D
Deuteranopia (green-blind)
#34332C
Tritanopia (blue-blind)
#581823
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d2d;
/* rgb */ color: rgb(81, 29, 45);
/* oklch */ color: oklch(31.5% 0.080 3.6);
Tailwind
colors: {
  custom: {
    50: '#855c65',
    500: '#511d2d',
    950: '#000000',
  },
}
SCSS
$custom: #511d2d;
$custom-light: #855c65;
$custom-dark: #000000;
JSON
{
  "hex": "#511d2d",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 341.538,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.07971,
    "h": 3.6
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#511D2D
secondary
#448672
accent
#D7AE51
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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