#511C27#511C27

#511C27 is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.1% C 0.080 H 10.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#511C27
RGBrgb(81, 28, 39)
HSLhsl(348, 49%, 21%)
HSVhsv(348, 65%, 32%)
CMYKcmyk(0%, 65.4%, 51.9%, 68.2%)
CIE-LABlab(18.91, 25.92, 5.51)
CIE-LCHlch(18.91, 26.50, 12.01°)
OKLaboklab(31.11% 0.0786 0.0142)
OKLCHoklch(31.11% 0.08 10.3)
XYZxyz(4.1751, 2.7268, 2.2255)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C27 #1C5146
analogous
#511C42 #511C27 #512C1C
triadic
#511C27 #27511C #1C2751
tetradic
#511C27 #42511C #1C5146 #2C1C51
square
#511C27 #42511C #1C5146 #2C1C51
split-complementary
#511C27 #1C512C #1C4251
monochromatic
#17080B #240C11 #511C27 #7E2C3D #AC3B53

Accessibility & contrast

On white

13.59
#511C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C27
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C27#FFFFFF#000000##FFFFFF
##511C271.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272727
Deuteranopia (green-blind)
#353226
Tritanopia (blue-blind)
#591520
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c27;
/* rgb */ color: rgb(81, 28, 39);
/* oklch */ color: oklch(31.1% 0.080 10.3);
Tailwind
colors: {
  custom: {
    50: '#855b60',
    500: '#511c27',
    950: '#000000',
  },
}
SCSS
$custom: #511c27;
$custom-light: #855b60;
$custom-dark: #000000;
JSON
{
  "hex": "#511c27",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 347.547,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31112,
    "c": 0.0799,
    "h": 10.3
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#511C27
secondary
#428778
accent
#D8BC50
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511C27

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

Preview Lab → · Contrast checker → · Palette generator →

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