#511F2E#511F2E

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

Color values

HEX#511F2E
RGBrgb(81, 31, 46)
HSLhsl(342, 45%, 22%)
HSVhsv(342, 62%, 32%)
CMYKcmyk(0%, 61.7%, 43.2%, 68.2%)
CIE-LABlab(19.75, 25.12, 1.78)
CIE-LCHlch(19.75, 25.19, 4.05°)
OKLaboklab(31.81% 0.0765 0.0049)
OKLCHoklch(31.81% 0.077 3.7)
XYZxyz(4.3767, 2.9270, 2.9187)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F2E #1F5142
analogous
#511F47 #511F2E #51291F
triadic
#511F2E #2E511F #1F2E51
tetradic
#511F2E #47511F #1F5142 #291F51
square
#511F2E #47511F #1F5142 #291F51
split-complementary
#511F2E #1F5129 #1F4751
monochromatic
#16080D #250E15 #511F2E #7D3047 #AA4160

Accessibility & contrast

On white

13.25
#511F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F2E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F2E#FFFFFF#000000##FFFFFF
##511F2E1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #511f2e;
/* rgb */ color: rgb(81, 31, 46);
/* oklch */ color: oklch(31.8% 0.077 3.7);
Tailwind
colors: {
  custom: {
    50: '#845d66',
    500: '#511f2e',
    950: '#000000',
  },
}
SCSS
$custom: #511f2e;
$custom-light: #845d66;
$custom-dark: #000000;
JSON
{
  "hex": "#511f2e",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 342,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31806,
    "c": 0.07667,
    "h": 3.7
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#511F2E
secondary
#468673
accent
#D4AE53
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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