#511F27#511F27

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

Color values

HEX#511F27
RGBrgb(81, 31, 39)
HSLhsl(350, 45%, 22%)
HSVhsv(350, 62%, 32%)
CMYKcmyk(0%, 61.7%, 51.9%, 68.2%)
CIE-LABlab(19.54, 24.27, 6.39)
CIE-LCHlch(19.54, 25.10, 14.76°)
OKLaboklab(31.58% 0.0734 0.0164)
OKLCHoklch(31.58% 0.075 12.6)
XYZxyz(4.2498, 2.8763, 2.2504)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#511F27 #1F5149
analogous
#511F40 #511F27 #51301F
triadic
#511F27 #27511F #1F2751
tetradic
#511F27 #40511F #1F5149 #301F51
square
#511F27 #40511F #1F5149 #301F51
split-complementary
#511F27 #1F5130 #1F4051
monochromatic
#16080B #250E12 #511F27 #7D303C #AA4152

Accessibility & contrast

On white

13.33
#511F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #511F27
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##511F27#FFFFFF#000000##FFFFFF
##511F271.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2927
Deuteranopia (green-blind)
#363326
Tritanopia (blue-blind)
#581822
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #511f27;
/* rgb */ color: rgb(81, 31, 39);
/* oklch */ color: oklch(31.6% 0.075 12.6);
Tailwind
colors: {
  custom: {
    50: '#855d60',
    500: '#511f27',
    950: '#000000',
  },
}
SCSS
$custom: #511f27;
$custom-light: #855d60;
$custom-dark: #000000;
JSON
{
  "hex": "#511f27",
  "rgb": {
    "r": 81,
    "g": 31,
    "b": 39
  },
  "hsl": {
    "h": 350.4,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31582,
    "c": 0.07523,
    "h": 12.6
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#511F27
secondary
#46867C
accent
#D4C053
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #511F27

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

Preview Lab → · Contrast checker → · Palette generator →

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