#511F2A#511F2A

#511F2A is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.076 H 8.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#511F2A
RGBrgb(81, 31, 42)
HSLhsl(347, 45%, 22%)
HSVhsv(347, 62%, 32%)
CMYKcmyk(0%, 61.7%, 48.1%, 68.2%)
CIE-LABlab(19.63, 24.62, 4.41)
CIE-LCHlch(19.63, 25.01, 10.15°)
OKLaboklab(31.67% 0.0748 0.0115)
OKLCHoklch(31.67% 0.076 8.8)
XYZxyz(4.3015, 2.8969, 2.5227)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F2A #1F5146
analogous
#511F43 #511F2A #512D1F
triadic
#511F2A #2A511F #1F2A51
tetradic
#511F2A #43511F #1F5146 #2D1F51
square
#511F2A #43511F #1F5146 #2D1F51
split-complementary
#511F2A #1F512D #1F4351
monochromatic
#16080B #250E13 #511F2A #7D3041 #AA4158

Accessibility & contrast

On white

13.30
#511F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F2A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F2A#FFFFFF#000000##FFFFFF
##511F2A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#581923
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f2a;
/* rgb */ color: rgb(81, 31, 42);
/* oklch */ color: oklch(31.7% 0.076 8.8);
Tailwind
colors: {
  custom: {
    50: '#855d63',
    500: '#511f2a',
    950: '#000000',
  },
}
SCSS
$custom: #511f2a;
$custom-light: #855d63;
$custom-dark: #000000;
JSON
{
  "hex": "#511f2a",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 346.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31674,
    "c": 0.07566,
    "h": 8.8
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#511F2A
secondary
#468678
accent
#D4B853
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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