#511C28#511C28

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

Color values

HEX#511C28
RGBrgb(81, 28, 40)
HSLhsl(346, 49%, 21%)
HSVhsv(346, 65%, 32%)
CMYKcmyk(0%, 65.4%, 50.6%, 68.2%)
CIE-LABlab(18.94, 26.04, 4.85)
CIE-LCHlch(18.94, 26.49, 10.55°)
OKLaboklab(31.14% 0.0791 0.0126)
OKLCHoklch(31.14% 0.08 9.1)
XYZxyz(4.1919, 2.7335, 2.3139)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C28 #1C5145
analogous
#511C43 #511C28 #512B1C
triadic
#511C28 #28511C #1C2851
tetradic
#511C28 #43511C #1C5145 #2B1C51
square
#511C28 #43511C #1C5145 #2B1C51
split-complementary
#511C28 #1C512B #1C4351
monochromatic
#17080B #240C12 #511C28 #7E2C3E #AC3B55

Accessibility & contrast

On white

13.58
#511C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511C28
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C28#FFFFFF#000000##FFFFFF
##511C281.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#353227
Tritanopia (blue-blind)
#581521
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c28;
/* rgb */ color: rgb(81, 28, 40);
/* oklch */ color: oklch(31.1% 0.080 9.1);
Tailwind
colors: {
  custom: {
    50: '#855b61',
    500: '#511c28',
    950: '#000000',
  },
}
SCSS
$custom: #511c28;
$custom-light: #855b61;
$custom-dark: #000000;
JSON
{
  "hex": "#511c28",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 346.415,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.08007,
    "h": 9.1
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#511C28
secondary
#428777
accent
#D8B950
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511C28

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

Preview Lab → · Contrast checker → · Palette generator →

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