#512015#512015

#512015 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.3% C 0.077 H 34.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#512015
RGBrgb(81, 32, 21)
HSLhsl(11, 59%, 20%)
HSVhsv(11, 74%, 32%)
CMYKcmyk(0%, 60.5%, 74.1%, 68.2%)
CIE-LABlab(19.38, 22.08, 18.51)
CIE-LCHlch(19.38, 28.81, 39.97°)
OKLaboklab(31.34% 0.0634 0.0429)
OKLCHoklch(31.34% 0.077 34.1)
XYZxyz(4.0456, 2.8370, 1.0439)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#512015 #154651
analogous
#511528 #512015 #513E15
triadic
#512015 #155120 #201551
tetradic
#512015 #285115 #154651 #3E1551
square
#512015 #285115 #154651 #3E1551
split-complementary
#512015 #15513E #152851
monochromatic
#180A06 #200D08 #512015 #823322 #B2462E

Accessibility & contrast

On white

13.40
#512015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#512015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #512015
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##512015#FFFFFF#000000##FFFFFF
##5120151.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #512015;
/* rgb */ color: rgb(81, 32, 21);
/* oklch */ color: oklch(31.3% 0.077 34.1);
Tailwind
colors: {
  custom: {
    50: '#865d52',
    500: '#512015',
    950: '#000000',
  },
}
SCSS
$custom: #512015;
$custom-light: #865d52;
$custom-dark: #000000;
JSON
{
  "hex": "#512015",
  "rgb": {
    "r": 81,
    "g": 32,
    "b": 21
  },
  "hsl": {
    "h": 11,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.31336,
    "c": 0.07655,
    "h": 34.1
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#512015
secondary
#397A89
accent
#C5E246
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #512015

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

Preview Lab → · Contrast checker → · Palette generator →

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