#511B25#511B25

#511B25 is a dark, moderate red. Relative luminance 0.027; OKLCH L 30.9% C 0.081 H 11.9°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#511B25
RGBrgb(81, 27, 37)
HSLhsl(349, 50%, 21%)
HSVhsv(349, 67%, 32%)
CMYKcmyk(0%, 66.7%, 54.3%, 68.2%)
CIE-LABlab(18.66, 26.24, 6.57)
CIE-LCHlch(18.66, 27.05, 14.06°)
OKLaboklab(30.9% 0.0794 0.0168)
OKLCHoklch(30.9% 0.081 11.9)
XYZxyz(4.1195, 2.6673, 2.0478)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511B25 #1B5147
analogous
#511B40 #511B25 #512C1B
triadic
#511B25 #25511B #1B2551
tetradic
#511B25 #40511B #1B5147 #2C1B51
square
#511B25 #40511B #1B5147 #2C1B51
split-complementary
#511B25 #1B512C #1B4051
monochromatic
#17080A #230C10 #511B25 #7F2A3A #AD3A4F

Accessibility & contrast

On white

13.70
#511B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#511B25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511B25
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511B25#FFFFFF#000000##FFFFFF
##511B251.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272725
Deuteranopia (green-blind)
#353124
Tritanopia (blue-blind)
#59131F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #511b25;
/* rgb */ color: rgb(81, 27, 37);
/* oklch */ color: oklch(30.9% 0.081 11.9);
Tailwind
colors: {
  custom: {
    50: '#855a5f',
    500: '#511b25',
    950: '#000000',
  },
}
SCSS
$custom: #511b25;
$custom-light: #855a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#511b25",
  "rgb": {
    "r": 81,
    "g": 27,
    "b": 37
  },
  "hsl": {
    "h": 348.889,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.08116,
    "h": 11.9
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#511B25
secondary
#41877A
accent
#DAC04E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511B25

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

Preview Lab → · Contrast checker → · Palette generator →

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