#511E2F#511E2F

#511E2F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.079 H 1.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#511E2F
RGBrgb(81, 30, 47)
HSLhsl(340, 46%, 22%)
HSVhsv(340, 63%, 32%)
CMYKcmyk(0%, 63%, 42%, 68.2%)
CIE-LABlab(19.57, 25.81, 0.82)
CIE-LCHlch(19.57, 25.82, 1.82°)
OKLaboklab(31.68% 0.0787 0.0025)
OKLCHoklch(31.68% 0.079 1.8)
XYZxyz(4.3710, 2.8836, 3.0152)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511E2F #1E5140
analogous
#511E49 #511E2F #51271E
triadic
#511E2F #2F511E #1E2F51
tetradic
#511E2F #49511E #1E5140 #271E51
square
#511E2F #49511E #1E5140 #271E51
split-complementary
#511E2F #1E5127 #1E4951
monochromatic
#16080D #240D15 #511E2F #7E2F49 #AA3F63

Accessibility & contrast

On white

13.32
#511E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511E2F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511E2F#FFFFFF#000000##FFFFFF
##511E2F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27292F
Deuteranopia (green-blind)
#34332E
Tritanopia (blue-blind)
#581924
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511e2f;
/* rgb */ color: rgb(81, 30, 47);
/* oklch */ color: oklch(31.7% 0.079 1.8);
Tailwind
colors: {
  custom: {
    50: '#845c67',
    500: '#511e2f',
    950: '#000000',
  },
}
SCSS
$custom: #511e2f;
$custom-light: #845c67;
$custom-dark: #000000;
JSON
{
  "hex": "#511e2f",
  "rgb": {
    "r": 81,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 340,
    "s": 45.946,
    "l": 21.765
  },
  "oklch": {
    "l": 0.31684,
    "c": 0.07871,
    "h": 1.8
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#511E2F
secondary
#458670
accent
#D6AA52
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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