#511F25#511F25

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

Color values

HEX#511F25
RGBrgb(81, 31, 37)
HSLhsl(353, 45%, 22%)
HSVhsv(353, 62%, 32%)
CMYKcmyk(0%, 61.7%, 54.3%, 68.2%)
CIE-LABlab(19.49, 24.05, 7.72)
CIE-LCHlch(19.49, 25.26, 17.79°)
OKLaboklab(31.53% 0.0725 0.0196)
OKLCHoklch(31.53% 0.075 15.1)
XYZxyz(4.2176, 2.8634, 2.0805)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F25 #1F514B
analogous
#511F3E #511F25 #51321F
triadic
#511F25 #25511F #1F2551
tetradic
#511F25 #3E511F #1F514B #321F51
square
#511F25 #3E511F #1F514B #321F51
split-complementary
#511F25 #1F5132 #1F3E51
monochromatic
#16080A #250E11 #511F25 #7D3039 #AA414D

Accessibility & contrast

On white

13.35
#511F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#511F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #511F25
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F25#FFFFFF#000000##FFFFFF
##511F251.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2925
Deuteranopia (green-blind)
#373324
Tritanopia (blue-blind)
#591821
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f25;
/* rgb */ color: rgb(81, 31, 37);
/* oklch */ color: oklch(31.5% 0.075 15.1);
Tailwind
colors: {
  custom: {
    50: '#855d5f',
    500: '#511f25',
    950: '#000000',
  },
}
SCSS
$custom: #511f25;
$custom-light: #855d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#511f25",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 352.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.0751,
    "h": 15.1
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#511F25
secondary
#46867E
accent
#D4C553
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0404
muted
#7C7979

Preview Lab

Preview with #511F25

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

Preview Lab → · Contrast checker → · Palette generator →

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