#511F33#511F33

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

Color values

HEX#511F33
RGBrgb(81, 31, 51)
HSLhsl(336, 45%, 22%)
HSVhsv(336, 62%, 32%)
CMYKcmyk(0%, 61.7%, 37%, 68.2%)
CIE-LABlab(19.92, 25.81, -1.47)
CIE-LCHlch(19.92, 25.85, 356.74°)
OKLaboklab(31.99% 0.0786 -0.0035)
OKLCHoklch(31.99% 0.079 357.4)
XYZxyz(4.4811, 2.9688, 3.4684)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F33 #1F513D
analogous
#511F4C #511F33 #51241F
triadic
#511F33 #33511F #1F3351
tetradic
#511F33 #4C511F #1F513D #241F51
square
#511F33 #4C511F #1F513D #241F51
split-complementary
#511F33 #1F5124 #1F4C51
monochromatic
#16080E #250E17 #511F33 #7D304F #AA416B

Accessibility & contrast

On white

13.18
#511F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F33
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F33#FFFFFF#000000##FFFFFF
##511F331.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A34
Deuteranopia (green-blind)
#343432
Tritanopia (blue-blind)
#571B27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f33;
/* rgb */ color: rgb(81, 31, 51);
/* oklch */ color: oklch(32.0% 0.079 357.4);
Tailwind
colors: {
  custom: {
    50: '#845d6a',
    500: '#511f33',
    950: '#000000',
  },
}
SCSS
$custom: #511f33;
$custom-light: #845d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#511f33",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 51
  },
  "hsl": {
    "h": 336,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.07864,
    "h": 357.4
  },
  "luminance": 0.02968
}

Semantic roles & 50–950 ramp

primary
#511F33
secondary
#46866C
accent
#D4A153
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F33

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

Preview Lab → · Contrast checker → · Palette generator →

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