#511F38#511F38

#511F38 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.2% C 0.081 H 351.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#511F38
RGBrgb(81, 31, 56)
HSLhsl(330, 45%, 22%)
HSVhsv(330, 62%, 32%)
CMYKcmyk(0%, 61.7%, 30.9%, 68.2%)
CIE-LABlab(20.11, 26.55, -4.68)
CIE-LCHlch(20.11, 26.96, 350.01°)
OKLaboklab(32.19% 0.0804 -0.0121)
OKLCHoklch(32.19% 0.081 351.5)
XYZxyz(4.5973, 3.0153, 4.0805)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F38 #1F5138
analogous
#511F51 #511F38 #511F1F
triadic
#511F38 #38511F #1F3851
tetradic
#511F38 #51511F #1F5138 #1F1F51
square
#511F38 #51511F #1F5138 #1F1F51
split-complementary
#511F38 #1F511F #1F5151
monochromatic
#16080F #250E19 #511F38 #7D3057 #AA4175

Accessibility & contrast

On white

13.10
#511F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#511F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F38
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F38#FFFFFF#000000##FFFFFF
##511F381.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#333437
Tritanopia (blue-blind)
#571D29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511f38;
/* rgb */ color: rgb(81, 31, 56);
/* oklch */ color: oklch(32.2% 0.081 351.5);
Tailwind
colors: {
  custom: {
    50: '#845d6e',
    500: '#511f38',
    950: '#000000',
  },
}
SCSS
$custom: #511f38;
$custom-light: #845d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#511f38",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 56
  },
  "hsl": {
    "h": 330,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.08133,
    "h": 351.5
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#511F38
secondary
#468666
accent
#D49453
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F38

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

Preview Lab → · Contrast checker → · Palette generator →

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