#511F35#511F35

#511F35 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.1% C 0.080 H 355.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#511F35
RGBrgb(81, 31, 53)
HSLhsl(334, 45%, 22%)
HSVhsv(334, 62%, 32%)
CMYKcmyk(0%, 61.7%, 34.6%, 68.2%)
CIE-LABlab(19.99, 26.10, -2.76)
CIE-LCHlch(19.99, 26.24, 353.96°)
OKLaboklab(32.07% 0.0793 -0.0069)
OKLCHoklch(32.07% 0.08 355)
XYZxyz(4.5261, 2.9868, 3.7056)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F35 #1F513B
analogous
#511F4E #511F35 #51221F
triadic
#511F35 #35511F #1F3551
tetradic
#511F35 #4E511F #1F513B #221F51
square
#511F35 #4E511F #1F513B #221F51
split-complementary
#511F35 #1F5122 #1F4E51
monochromatic
#16080E #250E18 #511F35 #7D3052 #AA416F

Accessibility & contrast

On white

13.15
#511F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F35
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F35#FFFFFF#000000##FFFFFF
##511F351.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B36
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#571C27
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f35;
/* rgb */ color: rgb(81, 31, 53);
/* oklch */ color: oklch(32.1% 0.080 355.0);
Tailwind
colors: {
  custom: {
    50: '#845d6c',
    500: '#511f35',
    950: '#000000',
  },
}
SCSS
$custom: #511f35;
$custom-light: #845d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#511f35",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 333.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32067,
    "c": 0.07963,
    "h": 355
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#511F35
secondary
#46866A
accent
#D49C53
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511F35

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

Preview Lab → · Contrast checker → · Palette generator →

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