#40130D#40130D

#40130D is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.072 H 30.2°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#40130D
RGBrgb(64, 19, 13)
HSLhsl(7, 66%, 15%)
HSVhsv(7, 80%, 25%)
CMYKcmyk(0%, 70.3%, 79.7%, 74.9%)
CIE-LABlab(13.14, 21.50, 14.66)
CIE-LCHlch(13.14, 26.02, 34.28°)
OKLaboklab(25.94% 0.062 0.0361)
OKLCHoklch(25.94% 0.072 30.2)
XYZxyz(2.4201, 1.5851, 0.5592)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40130D #0D3A40
analogous
#400D20 #40130D #402D0D
triadic
#40130D #0D4013 #130D40
tetradic
#40130D #20400D #0D3A40 #2D0D40
square
#40130D #20400D #0D3A40 #2D0D40
split-complementary
#40130D #0D402D #0D2040
monochromatic
#190805 #190805 #40130D #732217 #A63122

Accessibility & contrast

On white

15.95
#40130D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#40130D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40130D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40130D#FFFFFF#000000##FFFFFF
##40130D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C0C
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#470912
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40130d;
/* rgb */ color: rgb(64, 19, 13);
/* oklch */ color: oklch(25.9% 0.072 30.2);
Tailwind
colors: {
  custom: {
    50: '#79534c',
    500: '#40130d',
    950: '#000000',
  },
}
SCSS
$custom: #40130d;
$custom-light: #79534c;
$custom-dark: #000000;
JSON
{
  "hex": "#40130d",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 13
  },
  "hsl": {
    "h": 7.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2594,
    "c": 0.07172,
    "h": 30.2
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#40130D
secondary
#2D727C
accent
#D5E93F
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40130D

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

Preview Lab → · Contrast checker → · Palette generator →

#40130D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva