#511B2F#511B2F

#511B2F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.084 H 0.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#511B2F
RGBrgb(81, 27, 47)
HSLhsl(338, 50%, 21%)
HSVhsv(338, 67%, 32%)
CMYKcmyk(0%, 66.7%, 42%, 68.2%)
CIE-LABlab(18.97, 27.43, -0.06)
CIE-LCHlch(18.97, 27.43, 359.87°)
OKLaboklab(31.23% 0.0837 0.0002)
OKLCHoklch(31.23% 0.084 0.1)
XYZxyz(4.2986, 2.7389, 2.9911)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B2F #1B513D
analogous
#511B4A #511B2F #51221B
triadic
#511B2F #2F511B #1B2F51
tetradic
#511B2F #4A511B #1B513D #221B51
square
#511B2F #4A511B #1B513D #221B51
split-complementary
#511B2F #1B5122 #1B4A51
monochromatic
#17080D #230C14 #511B2F #7F2A4A #AD3A64

Accessibility & contrast

On white

13.57
#511B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#511B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B2F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B2F#FFFFFF#000000##FFFFFF
##511B2F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252830
Deuteranopia (green-blind)
#33322E
Tritanopia (blue-blind)
#581623
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511b2f;
/* rgb */ color: rgb(81, 27, 47);
/* oklch */ color: oklch(31.2% 0.084 0.1);
Tailwind
colors: {
  custom: {
    50: '#855b67',
    500: '#511b2f',
    950: '#000000',
  },
}
SCSS
$custom: #511b2f;
$custom-light: #855b67;
$custom-dark: #000000;
JSON
{
  "hex": "#511b2f",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 337.778,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.08372,
    "h": 0.1
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#511B2F
secondary
#41876D
accent
#DAA64E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #511B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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