#511C3A#511C3A

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

Color values

HEX#511C3A
RGBrgb(81, 28, 58)
HSLhsl(326, 49%, 21%)
HSVhsv(326, 65%, 32%)
CMYKcmyk(0%, 65.4%, 28.4%, 68.2%)
CIE-LABlab(19.58, 28.48, -6.86)
CIE-LCHlch(19.58, 29.30, 346.46°)
OKLaboklab(31.83% 0.0861 -0.018)
OKLCHoklch(31.83% 0.088 348.2)
XYZxyz(4.5725, 2.8858, 4.3184)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C3A #1C5133
analogous
#4E1C51 #511C3A #511C20
triadic
#511C3A #3A511C #1C3A51
tetradic
#511C3A #514E1C #1C5133 #1C2051
square
#511C3A #514E1C #1C5133 #1C2051
split-complementary
#511C3A #20511C #1C514E
monochromatic
#170810 #240C19 #511C3A #7E2C5B #AC3B7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##511C3A#FFFFFF#000000##FFFFFF
##511C3A1.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)
#222A3B
Deuteranopia (green-blind)
#313339
Tritanopia (blue-blind)
#571A28
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511c3a;
/* rgb */ color: rgb(81, 28, 58);
/* oklch */ color: oklch(31.8% 0.088 348.2);
Tailwind
colors: {
  custom: {
    50: '#845b70',
    500: '#511c3a',
    950: '#000000',
  },
}
SCSS
$custom: #511c3a;
$custom-light: #845b70;
$custom-dark: #000000;
JSON
{
  "hex": "#511c3a",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 58
  },
  "hsl": {
    "h": 326.038,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31826,
    "c": 0.08793,
    "h": 348.2
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#511C3A
secondary
#428760
accent
#D88B50
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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