#511E2D#511E2D

#511E2D is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.6% C 0.078 H 4.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#511E2D
RGBrgb(81, 30, 45)
HSLhsl(342, 46%, 22%)
HSVhsv(342, 63%, 32%)
CMYKcmyk(0%, 63%, 44.4%, 68.2%)
CIE-LABlab(19.51, 25.55, 2.13)
CIE-LCHlch(19.51, 25.64, 4.77°)
OKLaboklab(31.61% 0.0778 0.0058)
OKLCHoklch(31.61% 0.078 4.3)
XYZxyz(4.3315, 2.8678, 2.8075)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E2D #1E5142
analogous
#511E47 #511E2D #51291E
triadic
#511E2D #2D511E #1E2D51
tetradic
#511E2D #47511E #1E5142 #291E51
square
#511E2D #47511E #1E5142 #291E51
split-complementary
#511E2D #1E5129 #1E4751
monochromatic
#16080C #240D14 #511E2D #7E2F46 #AA3F5F

Accessibility & contrast

On white

13.35
#511E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511E2D
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E2D#FFFFFF#000000##FFFFFF
##511E2D1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292D
Deuteranopia (green-blind)
#35332C
Tritanopia (blue-blind)
#581924
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e2d;
/* rgb */ color: rgb(81, 30, 45);
/* oklch */ color: oklch(31.6% 0.078 4.3);
Tailwind
colors: {
  custom: {
    50: '#855c65',
    500: '#511e2d',
    950: '#000000',
  },
}
SCSS
$custom: #511e2d;
$custom-light: #855c65;
$custom-dark: #000000;
JSON
{
  "hex": "#511e2d",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 342.353,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31614,
    "c": 0.07805,
    "h": 4.3
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#511E2D
secondary
#458673
accent
#D6AF52
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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