#511C2B#511C2B

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

Color values

HEX#511C2B
RGBrgb(81, 28, 43)
HSLhsl(343, 49%, 21%)
HSVhsv(343, 65%, 32%)
CMYKcmyk(0%, 65.4%, 46.9%, 68.2%)
CIE-LABlab(19.03, 26.39, 2.86)
CIE-LCHlch(19.03, 26.55, 6.19°)
OKLaboklab(31.24% 0.0804 0.0077)
OKLCHoklch(31.24% 0.081 5.4)
XYZxyz(4.2449, 2.7547, 2.5932)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2B #1C5142
analogous
#511C46 #511C2B #51281C
triadic
#511C2B #2B511C #1C2B51
tetradic
#511C2B #46511C #1C5142 #281C51
square
#511C2B #46511C #1C5142 #281C51
split-complementary
#511C2B #1C5128 #1C4651
monochromatic
#17080C #240C13 #511C2B #7E2C43 #AC3B5B

Accessibility & contrast

On white

13.54
#511C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C2B
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2B#FFFFFF#000000##FFFFFF
##511C2B1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511c2b;
/* rgb */ color: rgb(81, 28, 43);
/* oklch */ color: oklch(31.2% 0.081 5.4);
Tailwind
colors: {
  custom: {
    50: '#855b64',
    500: '#511c2b',
    950: '#000000',
  },
}
SCSS
$custom: #511c2b;
$custom-light: #855b64;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2b",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 343.019,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.08075,
    "h": 5.4
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#511C2B
secondary
#428773
accent
#D8B250
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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