#511F3A#511F3A

#511F3A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.083 H 349.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#511F3A
RGBrgb(81, 31, 58)
HSLhsl(328, 45%, 22%)
HSVhsv(328, 62%, 32%)
CMYKcmyk(0%, 61.7%, 28.4%, 68.2%)
CIE-LABlab(20.18, 26.87, -5.95)
CIE-LCHlch(20.18, 27.52, 347.51°)
OKLaboklab(32.27% 0.0811 -0.0155)
OKLCHoklch(32.27% 0.083 349.2)
XYZxyz(4.6472, 3.0352, 4.3433)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F3A #1F5136
analogous
#4F1F51 #511F3A #511F21
triadic
#511F3A #3A511F #1F3A51
tetradic
#511F3A #514F1F #1F5136 #1F2151
square
#511F3A #514F1F #1F5136 #1F2151
split-complementary
#511F3A #21511F #1F514F
monochromatic
#160810 #250E1A #511F3A #7D305A #AA4179

Accessibility & contrast

On white

13.07
#511F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#511F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F3A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F3A#FFFFFF#000000##FFFFFF
##511F3A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#323439
Tritanopia (blue-blind)
#571D2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511f3a;
/* rgb */ color: rgb(81, 31, 58);
/* oklch */ color: oklch(32.3% 0.083 349.2);
Tailwind
colors: {
  custom: {
    50: '#845d70',
    500: '#511f3a',
    950: '#000000',
  },
}
SCSS
$custom: #511f3a;
$custom-light: #845d70;
$custom-dark: #000000;
JSON
{
  "hex": "#511f3a",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 58
  },
  "hsl": {
    "h": 327.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32274,
    "c": 0.0826,
    "h": 349.2
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#511F3A
secondary
#468663
accent
#D48F53
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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