#511A28#511A28

#511A28 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.083 H 7.8°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#511A28
RGBrgb(81, 26, 40)
HSLhsl(345, 51%, 21%)
HSVhsv(345, 68%, 32%)
CMYKcmyk(0%, 67.9%, 50.6%, 68.2%)
CIE-LABlab(18.55, 27.09, 4.29)
CIE-LCHlch(18.55, 27.43, 9.00°)
OKLaboklab(30.85% 0.0824 0.0112)
OKLCHoklch(30.85% 0.083 7.8)
XYZxyz(4.1460, 2.6418, 2.2987)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511A28 #1A5143
analogous
#511A43 #511A28 #51271A
triadic
#511A28 #28511A #1A2851
tetradic
#511A28 #43511A #1A5143 #271A51
square
#511A28 #43511A #1A5143 #271A51
split-complementary
#511A28 #1A5127 #1A4351
monochromatic
#17070B #230B11 #511A28 #7F293F #AE3856

Accessibility & contrast

On white

13.74
#511A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511A28
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511A28#FFFFFF#000000##FFFFFF
##511A281.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262628
Deuteranopia (green-blind)
#343127
Tritanopia (blue-blind)
#58131F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511a28;
/* rgb */ color: rgb(81, 26, 40);
/* oklch */ color: oklch(30.8% 0.083 7.8);
Tailwind
colors: {
  custom: {
    50: '#855a61',
    500: '#511a28',
    950: '#000000',
  },
}
SCSS
$custom: #511a28;
$custom-light: #855a61;
$custom-dark: #000000;
JSON
{
  "hex": "#511a28",
  "rgb": {
    "r": 81,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 344.727,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30847,
    "c": 0.08317,
    "h": 7.8
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#511A28
secondary
#408775
accent
#DBB74D
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511A28

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

Preview Lab → · Contrast checker → · Palette generator →

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