#511B3D#511B3D

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

Color values

HEX#511B3D
RGBrgb(81, 27, 61)
HSLhsl(322, 50%, 21%)
HSVhsv(322, 67%, 32%)
CMYKcmyk(0%, 66.7%, 24.7%, 68.2%)
CIE-LABlab(19.52, 29.48, -9.04)
CIE-LCHlch(19.52, 30.84, 342.95°)
OKLaboklab(31.82% 0.0886 -0.024)
OKLCHoklch(31.82% 0.092 344.8)
XYZxyz(4.6277, 2.8705, 4.7243)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B3D #1B512F
analogous
#4A1B51 #511B3D #511B22
triadic
#511B3D #3D511B #1B3D51
tetradic
#511B3D #514A1B #1B512F #1B2251
square
#511B3D #514A1B #1B512F #1B2251
split-complementary
#511B3D #22511B #1B514A
monochromatic
#170811 #230C1A #511B3D #7F2A60 #AD3A82

Accessibility & contrast

On white

13.34
#511B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B3D
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B3D#FFFFFF#000000##FFFFFF
##511B3D1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202A3E
Deuteranopia (green-blind)
#30333C
Tritanopia (blue-blind)
#561A29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b3d;
/* rgb */ color: rgb(81, 27, 61);
/* oklch */ color: oklch(31.8% 0.092 344.8);
Tailwind
colors: {
  custom: {
    50: '#845b72',
    500: '#511b3d',
    950: '#000000',
  },
}
SCSS
$custom: #511b3d;
$custom-light: #845b72;
$custom-dark: #000000;
JSON
{
  "hex": "#511b3d",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 322.222,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.09176,
    "h": 344.8
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#511B3D
secondary
#41875B
accent
#DA824E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #511B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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