#511F3C#511F3C

#511F3C is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.4% C 0.084 H 346.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#511F3C
RGBrgb(81, 31, 60)
HSLhsl(325, 45%, 22%)
HSVhsv(325, 62%, 32%)
CMYKcmyk(0%, 61.7%, 25.9%, 68.2%)
CIE-LABlab(20.27, 27.19, -7.21)
CIE-LCHlch(20.27, 28.13, 345.15°)
OKLaboklab(32.36% 0.0818 -0.019)
OKLCHoklch(32.36% 0.084 346.9)
XYZxyz(4.6991, 3.0560, 4.6165)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F3C #1F5134
analogous
#4D1F51 #511F3C #511F23
triadic
#511F3C #3C511F #1F3C51
tetradic
#511F3C #514D1F #1F5134 #1F2351
square
#511F3C #514D1F #1F5134 #1F2351
split-complementary
#511F3C #23511F #1F514D
monochromatic
#160810 #250E1B #511F3C #7D305D #AA417E

Accessibility & contrast

On white

13.03
#511F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F3C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F3C#FFFFFF#000000##FFFFFF
##511F3C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3D
Deuteranopia (green-blind)
#32343B
Tritanopia (blue-blind)
#561E2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #511f3c;
/* rgb */ color: rgb(81, 31, 60);
/* oklch */ color: oklch(32.4% 0.084 346.9);
Tailwind
colors: {
  custom: {
    50: '#845d71',
    500: '#511f3c',
    950: '#000000',
  },
}
SCSS
$custom: #511f3c;
$custom-light: #845d71;
$custom-dark: #000000;
JSON
{
  "hex": "#511f3c",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 325.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.08396,
    "h": 346.9
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#511F3C
secondary
#468661
accent
#D48A53
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #511F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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