#511F2F#511F2F

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

Color values

HEX#511F2F
RGBrgb(81, 31, 47)
HSLhsl(341, 45%, 22%)
HSVhsv(341, 62%, 32%)
CMYKcmyk(0%, 61.7%, 42%, 68.2%)
CIE-LABlab(19.78, 25.26, 1.13)
CIE-LCHlch(19.78, 25.28, 2.56°)
OKLaboklab(31.84% 0.0769 0.0032)
OKLCHoklch(31.84% 0.077 2.4)
XYZxyz(4.3967, 2.9350, 3.0237)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F2F #1F5141
analogous
#511F48 #511F2F #51281F
triadic
#511F2F #2F511F #1F2F51
tetradic
#511F2F #48511F #1F5141 #281F51
square
#511F2F #48511F #1F5141 #281F51
split-complementary
#511F2F #1F5128 #1F4851
monochromatic
#16080D #250E15 #511F2F #7D3049 #AA4162

Accessibility & contrast

On white

13.23
#511F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F2F
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F2F#FFFFFF#000000##FFFFFF
##511F2F1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2F
Deuteranopia (green-blind)
#35332E
Tritanopia (blue-blind)
#581A25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f2f;
/* rgb */ color: rgb(81, 31, 47);
/* oklch */ color: oklch(31.8% 0.077 2.4);
Tailwind
colors: {
  custom: {
    50: '#845d67',
    500: '#511f2f',
    950: '#000000',
  },
}
SCSS
$custom: #511f2f;
$custom-light: #845d67;
$custom-dark: #000000;
JSON
{
  "hex": "#511f2f",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 340.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31841,
    "c": 0.07701,
    "h": 2.4
  },
  "luminance": 0.02935
}

Semantic roles & 50–950 ramp

primary
#511F2F
secondary
#468671
accent
#D4AB53
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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