#511F1C#511F1C

#511F1C is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.076 H 25.8°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#511F1C
RGBrgb(81, 31, 28)
HSLhsl(3, 49%, 21%)
HSVhsv(3, 65%, 32%)
CMYKcmyk(0%, 61.7%, 65.4%, 68.2%)
CIE-LABlab(19.28, 23.18, 13.69)
CIE-LCHlch(19.28, 26.92, 30.56°)
OKLaboklab(31.3% 0.0683 0.0331)
OKLCHoklch(31.3% 0.076 25.8)
XYZxyz(4.0933, 2.8136, 1.4259)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F1C #1C4E51
analogous
#511C34 #511F1C #513A1C
triadic
#511F1C #1C511F #1F1C51
tetradic
#511F1C #34511C #1C4E51 #3A1C51
square
#511F1C #34511C #1C4E51 #3A1C51
split-complementary
#511F1C #1C513A #1C3451
monochromatic
#170908 #240E0C #511F1C #7E302C #AC423B

Accessibility & contrast

On white

13.44
#511F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#511F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F1C
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F1C#FFFFFF#000000##FFFFFF
##511F1C1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B281B
Deuteranopia (green-blind)
#38331B
Tritanopia (blue-blind)
#59161F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f1c;
/* rgb */ color: rgb(81, 31, 28);
/* oklch */ color: oklch(31.3% 0.076 25.8);
Tailwind
colors: {
  custom: {
    50: '#865d58',
    500: '#511f1c',
    950: '#000000',
  },
}
SCSS
$custom: #511f1c;
$custom-light: #865d58;
$custom-dark: #000000;
JSON
{
  "hex": "#511f1c",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 28
  },
  "hsl": {
    "h": 3.396,
    "s": 48.624,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31302,
    "c": 0.07589,
    "h": 25.8
  },
  "luminance": 0.02813
}

Semantic roles & 50–950 ramp

primary
#511F1C
secondary
#428387
accent
#D0D850
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0403
muted
#7D7978

Preview Lab

Preview with #511F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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