#511C2D#511C2D

#511C2D is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.3% C 0.081 H 3.0°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#511C2D
RGBrgb(81, 28, 45)
HSLhsl(341, 49%, 21%)
HSVhsv(341, 65%, 32%)
CMYKcmyk(0%, 65.4%, 44.4%, 68.2%)
CIE-LABlab(19.10, 26.64, 1.54)
CIE-LCHlch(19.10, 26.68, 3.31°)
OKLaboklab(31.31% 0.0812 0.0043)
OKLCHoklch(31.31% 0.081 3)
XYZxyz(4.2825, 2.7698, 2.7912)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2D #1C5140
analogous
#511C48 #511C2D #51261C
triadic
#511C2D #2D511C #1C2D51
tetradic
#511C2D #48511C #1C5140 #261C51
square
#511C2D #48511C #1C5140 #261C51
split-complementary
#511C2D #1C5126 #1C4851
monochromatic
#17080D #240C14 #511C2D #7E2C46 #AC3B60

Accessibility & contrast

On white

13.52
#511C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C2D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2D#FFFFFF#000000##FFFFFF
##511C2D1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26282D
Deuteranopia (green-blind)
#34322C
Tritanopia (blue-blind)
#581622
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c2d;
/* rgb */ color: rgb(81, 28, 45);
/* oklch */ color: oklch(31.3% 0.081 3.0);
Tailwind
colors: {
  custom: {
    50: '#855b65',
    500: '#511c2d',
    950: '#000000',
  },
}
SCSS
$custom: #511c2d;
$custom-light: #855b65;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2d",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 340.755,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31308,
    "c": 0.08135,
    "h": 3
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#511C2D
secondary
#428771
accent
#D8AC50
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #511C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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