#511C25#511C25

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

Color values

HEX#511C25
RGBrgb(81, 28, 37)
HSLhsl(350, 49%, 21%)
HSVhsv(350, 65%, 32%)
CMYKcmyk(0%, 65.4%, 54.3%, 68.2%)
CIE-LABlab(18.86, 25.71, 6.85)
CIE-LCHlch(18.86, 26.60, 14.92°)
OKLaboklab(31.05% 0.0777 0.0175)
OKLCHoklch(31.05% 0.08 12.7)
XYZxyz(4.1428, 2.7139, 2.0556)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511C25 #1C5148
analogous
#511C40 #511C25 #512E1C
triadic
#511C25 #25511C #1C2551
tetradic
#511C25 #40511C #1C5148 #2E1C51
square
#511C25 #40511C #1C5148 #2E1C51
split-complementary
#511C25 #1C512E #1C4051
monochromatic
#17080A #240C10 #511C25 #7E2C3A #AC3B4F

Accessibility & contrast

On white

13.61
#511C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#511C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511C25
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511C25#FFFFFF#000000##FFFFFF
##511C251.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282725
Deuteranopia (green-blind)
#353224
Tritanopia (blue-blind)
#59141F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #511c25;
/* rgb */ color: rgb(81, 28, 37);
/* oklch */ color: oklch(31.1% 0.080 12.7);
Tailwind
colors: {
  custom: {
    50: '#855b5f',
    500: '#511c25',
    950: '#000000',
  },
}
SCSS
$custom: #511c25;
$custom-light: #855b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#511c25",
  "rgb": {
    "r": 81,
    "g": 28,
    "b": 37
  },
  "hsl": {
    "h": 349.811,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31053,
    "c": 0.07966,
    "h": 12.7
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#511C25
secondary
#42877B
accent
#D8C150
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511C25

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

Preview Lab → · Contrast checker → · Palette generator →

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