#511F34#511F34

#511F34 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.0% C 0.079 H 356.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#511F34
RGBrgb(81, 31, 52)
HSLhsl(335, 45%, 22%)
HSVhsv(335, 62%, 32%)
CMYKcmyk(0%, 61.7%, 35.8%, 68.2%)
CIE-LABlab(19.95, 25.95, -2.12)
CIE-LCHlch(19.95, 26.04, 355.34°)
OKLaboklab(32.03% 0.079 -0.0052)
OKLCHoklch(32.03% 0.079 356.2)
XYZxyz(4.5034, 2.9777, 3.5857)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F34 #1F513C
analogous
#511F4D #511F34 #51231F
triadic
#511F34 #34511F #1F3451
tetradic
#511F34 #4D511F #1F513C #231F51
square
#511F34 #4D511F #1F513C #231F51
split-complementary
#511F34 #1F5123 #1F4D51
monochromatic
#16080E #250E18 #511F34 #7D3050 #AA416D

Accessibility & contrast

On white

13.16
#511F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F34
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F34#FFFFFF#000000##FFFFFF
##511F341.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A35
Deuteranopia (green-blind)
#343433
Tritanopia (blue-blind)
#571C27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f34;
/* rgb */ color: rgb(81, 31, 52);
/* oklch */ color: oklch(32.0% 0.079 356.2);
Tailwind
colors: {
  custom: {
    50: '#845d6b',
    500: '#511f34',
    950: '#000000',
  },
}
SCSS
$custom: #511f34;
$custom-light: #845d6b;
$custom-dark: #000000;
JSON
{
  "hex": "#511f34",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 52
  },
  "hsl": {
    "h": 334.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32027,
    "c": 0.07912,
    "h": 356.2
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#511F34
secondary
#46866B
accent
#D49E53
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F34

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

Preview Lab → · Contrast checker → · Palette generator →

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