#511F28#511F28

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

Color values

HEX#511F28
RGBrgb(81, 31, 40)
HSLhsl(349, 45%, 22%)
HSVhsv(349, 62%, 32%)
CMYKcmyk(0%, 61.7%, 50.6%, 68.2%)
CIE-LABlab(19.57, 24.38, 5.73)
CIE-LCHlch(19.57, 25.05, 13.22°)
OKLaboklab(31.61% 0.0739 0.0148)
OKLCHoklch(31.61% 0.075 11.3)
XYZxyz(4.2666, 2.8830, 2.3389)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F28 #1F5148
analogous
#511F41 #511F28 #512F1F
triadic
#511F28 #28511F #1F2851
tetradic
#511F28 #41511F #1F5148 #2F1F51
square
#511F28 #41511F #1F5148 #2F1F51
split-complementary
#511F28 #1F512F #1F4151
monochromatic
#16080B #250E12 #511F28 #7D303E #AA4154

Accessibility & contrast

On white

13.32
#511F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F28
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F28#FFFFFF#000000##FFFFFF
##511F281.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292928
Deuteranopia (green-blind)
#363327
Tritanopia (blue-blind)
#581922
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f28;
/* rgb */ color: rgb(81, 31, 40);
/* oklch */ color: oklch(31.6% 0.075 11.3);
Tailwind
colors: {
  custom: {
    50: '#855d61',
    500: '#511f28',
    950: '#000000',
  },
}
SCSS
$custom: #511f28;
$custom-light: #855d61;
$custom-dark: #000000;
JSON
{
  "hex": "#511f28",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 40
  },
  "hsl": {
    "h": 349.2,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31612,
    "c": 0.07534,
    "h": 11.3
  },
  "luminance": 0.02883
}

Semantic roles & 50–950 ramp

primary
#511F28
secondary
#46867A
accent
#D4BD53
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511F28

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

Preview Lab → · Contrast checker → · Palette generator →

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