#512115#512115

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

Color values

HEX#512115
RGBrgb(81, 33, 21)
HSLhsl(12, 59%, 20%)
HSVhsv(12, 74%, 32%)
CMYKcmyk(0%, 59.3%, 74.1%, 68.2%)
CIE-LABlab(19.60, 21.50, 18.78)
CIE-LCHlch(19.60, 28.54, 41.13°)
OKLaboklab(31.51% 0.0616 0.0435)
OKLCHoklch(31.51% 0.075 35.2)
XYZxyz(4.0729, 2.8917, 1.0530)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512115 #154551
analogous
#511527 #512115 #513F15
triadic
#512115 #155121 #211551
tetradic
#512115 #275115 #154551 #3F1551
square
#512115 #275115 #154551 #3F1551
split-complementary
#512115 #15513F #152751
monochromatic
#180A06 #200D08 #512115 #823522 #B2492E

Accessibility & contrast

On white

13.31
#512115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #512115
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512115#FFFFFF#000000##FFFFFF
##5121151.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2914
Deuteranopia (green-blind)
#393314
Tritanopia (blue-blind)
#59171E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #512115;
/* rgb */ color: rgb(81, 33, 21);
/* oklch */ color: oklch(31.5% 0.075 35.2);
Tailwind
colors: {
  custom: {
    50: '#865e52',
    500: '#512115',
    950: '#000000',
  },
}
SCSS
$custom: #512115;
$custom-light: #865e52;
$custom-dark: #000000;
JSON
{
  "hex": "#512115",
  "rgb": {
    "r": 81,
    "g": 33,
    "b": 21
  },
  "hsl": {
    "h": 12,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31507,
    "c": 0.0754,
    "h": 35.2
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#512115
secondary
#397989
accent
#C3E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512115

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

Preview Lab → · Contrast checker → · Palette generator →

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