#511F29#511F29

#511F29 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.6% C 0.075 H 10.0°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#511F29
RGBrgb(81, 31, 41)
HSLhsl(348, 45%, 22%)
HSVhsv(348, 62%, 32%)
CMYKcmyk(0%, 61.7%, 49.4%, 68.2%)
CIE-LABlab(19.60, 24.50, 5.07)
CIE-LCHlch(19.60, 25.02, 11.69°)
OKLaboklab(31.64% 0.0743 0.0132)
OKLCHoklch(31.64% 0.075 10)
XYZxyz(4.2839, 2.8899, 2.4296)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F29 #1F5147
analogous
#511F42 #511F29 #512E1F
triadic
#511F29 #29511F #1F2951
tetradic
#511F29 #42511F #1F5147 #2E1F51
square
#511F29 #42511F #1F5147 #2E1F51
split-complementary
#511F29 #1F512E #1F4251
monochromatic
#16080B #250E13 #511F29 #7D303F #AA4156

Accessibility & contrast

On white

13.31
#511F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#511F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F29
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F29#FFFFFF#000000##FFFFFF
##511F291.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292929
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#581923
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f29;
/* rgb */ color: rgb(81, 31, 41);
/* oklch */ color: oklch(31.6% 0.075 10.0);
Tailwind
colors: {
  custom: {
    50: '#855d62',
    500: '#511f29',
    950: '#000000',
  },
}
SCSS
$custom: #511f29;
$custom-light: #855d62;
$custom-dark: #000000;
JSON
{
  "hex": "#511f29",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 348,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31643,
    "c": 0.07548,
    "h": 10
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#511F29
secondary
#468679
accent
#D4BB53
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511F29

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

Preview Lab → · Contrast checker → · Palette generator →

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