#511F32#511F32

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

Color values

HEX#511F32
RGBrgb(81, 31, 50)
HSLhsl(337, 45%, 22%)
HSVhsv(337, 62%, 32%)
CMYKcmyk(0%, 61.7%, 38.3%, 68.2%)
CIE-LABlab(19.88, 25.67, -0.82)
CIE-LCHlch(19.88, 25.68, 358.16°)
OKLaboklab(31.95% 0.0782 -0.0018)
OKLCHoklch(31.95% 0.078 358.7)
XYZxyz(4.4593, 2.9600, 3.3535)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F32 #1F513E
analogous
#511F4B #511F32 #51251F
triadic
#511F32 #32511F #1F3251
tetradic
#511F32 #4B511F #1F513E #251F51
square
#511F32 #4B511F #1F513E #251F51
split-complementary
#511F32 #1F5125 #1F4B51
monochromatic
#16080E #250E17 #511F32 #7D304D #AA4169

Accessibility & contrast

On white

13.19
#511F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#511F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F32
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F32#FFFFFF#000000##FFFFFF
##511F321.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A33
Deuteranopia (green-blind)
#343431
Tritanopia (blue-blind)
#581B26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f32;
/* rgb */ color: rgb(81, 31, 50);
/* oklch */ color: oklch(32.0% 0.078 358.7);
Tailwind
colors: {
  custom: {
    50: '#845d69',
    500: '#511f32',
    950: '#000000',
  },
}
SCSS
$custom: #511f32;
$custom-light: #845d69;
$custom-dark: #000000;
JSON
{
  "hex": "#511f32",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 337.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31951,
    "c": 0.07818,
    "h": 358.7
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#511F32
secondary
#46866E
accent
#D4A353
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F32

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

Preview Lab → · Contrast checker → · Palette generator →

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