#511C38#511C38

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

Color values

HEX#511C38
RGBrgb(81, 28, 56)
HSLhsl(328, 49%, 21%)
HSVhsv(328, 65%, 32%)
CMYKcmyk(0%, 65.4%, 30.9%, 68.2%)
CIE-LABlab(19.50, 28.17, -5.59)
CIE-LCHlch(19.50, 28.72, 348.78°)
OKLaboklab(31.74% 0.0854 -0.0145)
OKLCHoklch(31.74% 0.087 350.3)
XYZxyz(4.5226, 2.8658, 4.0556)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C38 #1C5135
analogous
#501C51 #511C38 #511C1E
triadic
#511C38 #38511C #1C3851
tetradic
#511C38 #51501C #1C5135 #1C1E51
square
#511C38 #51501C #1C5135 #1C1E51
split-complementary
#511C38 #1E511C #1C5150
monochromatic
#170810 #240C19 #511C38 #7E2C57 #AC3B77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511C38#FFFFFF#000000##FFFFFF
##511C381.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)
#232939
Deuteranopia (green-blind)
#313337
Tritanopia (blue-blind)
#571A27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c38;
/* rgb */ color: rgb(81, 28, 56);
/* oklch */ color: oklch(31.7% 0.087 350.3);
Tailwind
colors: {
  custom: {
    50: '#845b6e',
    500: '#511c38',
    950: '#000000',
  },
}
SCSS
$custom: #511c38;
$custom-light: #845b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#511c38",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 328.302,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31738,
    "c": 0.08665,
    "h": 350.3
  },
  "luminance": 0.02865
}

Semantic roles & 50–950 ramp

primary
#511C38
secondary
#428762
accent
#D89050
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C38

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

Preview Lab → · Contrast checker → · Palette generator →

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