#511E35#511E35

#511E35 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.9% C 0.081 H 354.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#511E35
RGBrgb(81, 30, 53)
HSLhsl(333, 46%, 22%)
HSVhsv(333, 63%, 32%)
CMYKcmyk(0%, 63%, 34.6%, 68.2%)
CIE-LABlab(19.78, 26.65, -3.07)
CIE-LCHlch(19.78, 26.82, 353.43°)
OKLaboklab(31.91% 0.081 -0.0078)
OKLCHoklch(31.91% 0.081 354.5)
XYZxyz(4.5004, 2.9354, 3.6970)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E35 #1E513A
analogous
#511E4F #511E35 #51211E
triadic
#511E35 #35511E #1E3551
tetradic
#511E35 #4F511E #1E513A #211E51
square
#511E35 #4F511E #1E513A #211E51
split-complementary
#511E35 #1E5121 #1E4F51
monochromatic
#16080F #240D18 #511E35 #7E2F52 #AA3F6F

Accessibility & contrast

On white

13.23
#511E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E35
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E35#FFFFFF#000000##FFFFFF
##511E351.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A36
Deuteranopia (green-blind)
#333334
Tritanopia (blue-blind)
#571B27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511e35;
/* rgb */ color: rgb(81, 30, 53);
/* oklch */ color: oklch(31.9% 0.081 354.5);
Tailwind
colors: {
  custom: {
    50: '#845d6c',
    500: '#511e35',
    950: '#000000',
  },
}
SCSS
$custom: #511e35;
$custom-light: #845d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#511e35",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 53
  },
  "hsl": {
    "h": 332.941,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31912,
    "c": 0.08141,
    "h": 354.5
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#511E35
secondary
#458669
accent
#D69A52
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E35

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

Preview Lab → · Contrast checker → · Palette generator →

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