#511D35#511D35

#511D35 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.8% C 0.083 H 354.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#511D35
RGBrgb(81, 29, 53)
HSLhsl(332, 47%, 22%)
HSVhsv(332, 64%, 32%)
CMYKcmyk(0%, 64.2%, 34.6%, 68.2%)
CIE-LABlab(19.58, 27.19, -3.37)
CIE-LCHlch(19.58, 27.40, 352.94°)
OKLaboklab(31.76% 0.0827 -0.0086)
OKLCHoklch(31.76% 0.083 354.1)
XYZxyz(4.4755, 2.8856, 3.6887)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511D35 #1D5139
analogous
#511D4F #511D35 #511F1D
triadic
#511D35 #35511D #1D3551
tetradic
#511D35 #4F511D #1D5139 #1F1D51
square
#511D35 #4F511D #1D5139 #1F1D51
split-complementary
#511D35 #1D511F #1D4F51
monochromatic
#17080F #240D18 #511D35 #7E2D52 #AB3D70

Accessibility & contrast

On white

13.32
#511D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511D35
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511D35#FFFFFF#000000##FFFFFF
##511D351.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252936
Deuteranopia (green-blind)
#333334
Tritanopia (blue-blind)
#571A26
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511d35;
/* rgb */ color: rgb(81, 29, 53);
/* oklch */ color: oklch(31.8% 0.083 354.1);
Tailwind
colors: {
  custom: {
    50: '#845c6c',
    500: '#511d35',
    950: '#000000',
  },
}
SCSS
$custom: #511d35;
$custom-light: #845c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#511d35",
  "rgb": {
    "r": 81,
    "g": 29,
    "b": 53
  },
  "hsl": {
    "h": 332.308,
    "s": 47.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.08316,
    "h": 354.1
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#511D35
secondary
#448667
accent
#D79951
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511D35

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

Preview Lab → · Contrast checker → · Palette generator →

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