#511C2F#511C2F

#511C2F is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.082 H 0.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#511C2F
RGBrgb(81, 28, 47)
HSLhsl(338, 49%, 21%)
HSVhsv(338, 65%, 32%)
CMYKcmyk(0%, 65.4%, 42%, 68.2%)
CIE-LABlab(19.16, 26.90, 0.23)
CIE-LCHlch(19.16, 26.90, 0.49°)
OKLaboklab(31.38% 0.0821 0.0009)
OKLCHoklch(31.38% 0.082 0.6)
XYZxyz(4.3219, 2.7855, 2.9988)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C2F #1C513E
analogous
#511C4A #511C2F #51241C
triadic
#511C2F #2F511C #1C2F51
tetradic
#511C2F #4A511C #1C513E #241C51
square
#511C2F #4A511C #1C513E #241C51
split-complementary
#511C2F #1C5124 #1C4A51
monochromatic
#17080D #240C15 #511C2F #7E2C49 #AC3B64

Accessibility & contrast

On white

13.49
#511C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511C2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C2F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C2F#FFFFFF#000000##FFFFFF
##511C2F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#34322E
Tritanopia (blue-blind)
#581723
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c2f;
/* rgb */ color: rgb(81, 28, 47);
/* oklch */ color: oklch(31.4% 0.082 0.6);
Tailwind
colors: {
  custom: {
    50: '#855b67',
    500: '#511c2f',
    950: '#000000',
  },
}
SCSS
$custom: #511c2f;
$custom-light: #855b67;
$custom-dark: #000000;
JSON
{
  "hex": "#511c2f",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 338.491,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.08208,
    "h": 0.6
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#511C2F
secondary
#42876E
accent
#D8A750
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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