#512113#512113

#512113 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.5% C 0.076 H 37.0°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#512113
RGBrgb(81, 33, 19)
HSLhsl(14, 62%, 20%)
HSVhsv(14, 77%, 32%)
CMYKcmyk(0%, 59.3%, 76.5%, 68.2%)
CIE-LABlab(19.58, 21.37, 20.03)
CIE-LCHlch(19.58, 29.29, 43.15°)
OKLaboklab(31.48% 0.0608 0.0458)
OKLCHoklch(31.48% 0.076 37)
XYZxyz(4.0551, 2.8846, 0.9592)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512113 #134351
analogous
#511324 #512113 #514013
triadic
#512113 #135121 #211351
tetradic
#512113 #245113 #134351 #401351
square
#512113 #245113 #134351 #401351
split-complementary
#512113 #135140 #132451
monochromatic
#190A06 #1F0D07 #512113 #83351F #B4492A

Accessibility & contrast

On white

13.32
#512113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#512113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##512113#FFFFFF#000000##FFFFFF
##5121131.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)
#2E2911
Deuteranopia (green-blind)
#3A3312
Tritanopia (blue-blind)
#59171E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512113;
/* rgb */ color: rgb(81, 33, 19);
/* oklch */ color: oklch(31.5% 0.076 37.0);
Tailwind
colors: {
  custom: {
    50: '#865e51',
    500: '#512113',
    950: '#000000',
  },
}
SCSS
$custom: #512113;
$custom-light: #865e51;
$custom-dark: #000000;
JSON
{
  "hex": "#512113",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 19
  },
  "hsl": {
    "h": 13.548,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31475,
    "c": 0.07611,
    "h": 37
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#512113
secondary
#36778A
accent
#C0E543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512113

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

Preview Lab → · Contrast checker → · Palette generator →

#512113 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva