#511F2B#511F2B

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

Color values

HEX#511F2B
RGBrgb(81, 31, 43)
HSLhsl(346, 45%, 22%)
HSVhsv(346, 62%, 32%)
CMYKcmyk(0%, 61.7%, 46.9%, 68.2%)
CIE-LABlab(19.66, 24.74, 3.75)
CIE-LCHlch(19.66, 25.03, 8.62°)
OKLaboklab(31.71% 0.0752 0.0099)
OKLCHoklch(31.71% 0.076 7.5)
XYZxyz(4.3197, 2.9042, 2.6181)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F2B #1F5145
analogous
#511F44 #511F2B #512C1F
triadic
#511F2B #2B511F #1F2B51
tetradic
#511F2B #44511F #1F5145 #2C1F51
square
#511F2B #44511F #1F5145 #2C1F51
split-complementary
#511F2B #1F512C #1F4451
monochromatic
#16080C #250E14 #511F2B #7D3042 #AA415A

Accessibility & contrast

On white

13.28
#511F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F2B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F2B#FFFFFF#000000##FFFFFF
##511F2B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292B
Deuteranopia (green-blind)
#36332A
Tritanopia (blue-blind)
#581923
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #511f2b;
/* rgb */ color: rgb(81, 31, 43);
/* oklch */ color: oklch(31.7% 0.076 7.5);
Tailwind
colors: {
  custom: {
    50: '#855d64',
    500: '#511f2b',
    950: '#000000',
  },
}
SCSS
$custom: #511f2b;
$custom-light: #855d64;
$custom-dark: #000000;
JSON
{
  "hex": "#511f2b",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 345.6,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.07586,
    "h": 7.5
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#511F2B
secondary
#468676
accent
#D4B553
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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