#511B3A#511B3A

#511B3A is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.090 H 347.9°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#511B3A
RGBrgb(81, 27, 58)
HSLhsl(326, 50%, 21%)
HSVhsv(326, 67%, 32%)
CMYKcmyk(0%, 66.7%, 28.4%, 68.2%)
CIE-LABlab(19.39, 29.01, -7.15)
CIE-LCHlch(19.39, 29.87, 346.15°)
OKLaboklab(31.68% 0.0877 -0.0188)
OKLCHoklch(31.68% 0.09 347.9)
XYZxyz(4.5492, 2.8391, 4.3106)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B3A #1B5132
analogous
#4D1B51 #511B3A #511B1F
triadic
#511B3A #3A511B #1B3A51
tetradic
#511B3A #514D1B #1B5132 #1B1F51
square
#511B3A #514D1B #1B5132 #1B1F51
split-complementary
#511B3A #1F511B #1B514D
monochromatic
#170810 #230C19 #511B3A #7F2A5B #AD3A7C

Accessibility & contrast

On white

13.39
#511B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511B3A
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B3A#FFFFFF#000000##FFFFFF
##511B3A1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293B
Deuteranopia (green-blind)
#303239
Tritanopia (blue-blind)
#571928
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511b3a;
/* rgb */ color: rgb(81, 27, 58);
/* oklch */ color: oklch(31.7% 0.090 347.9);
Tailwind
colors: {
  custom: {
    50: '#845b70',
    500: '#511b3a',
    950: '#000000',
  },
}
SCSS
$custom: #511b3a;
$custom-light: #845b70;
$custom-dark: #000000;
JSON
{
  "hex": "#511b3a",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 58
  },
  "hsl": {
    "h": 325.556,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.08966,
    "h": 347.9
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#511B3A
secondary
#41875F
accent
#DA8A4E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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