#40130A#40130A

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

Color values

HEX#40130A
RGBrgb(64, 19, 10)
HSLhsl(10, 73%, 15%)
HSVhsv(10, 84%, 25%)
CMYKcmyk(0%, 70.3%, 84.4%, 74.9%)
CIE-LABlab(13.10, 21.32, 15.92)
CIE-LCHlch(13.10, 26.61, 36.75°)
OKLaboklab(25.89% 0.0607 0.0397)
OKLCHoklch(25.89% 0.073 33.2)
XYZxyz(2.4023, 1.5780, 0.4652)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40130A #0A3740
analogous
#400A1C #40130A #402E0A
triadic
#40130A #0A4013 #130A40
tetradic
#40130A #1C400A #0A3740 #2E0A40
square
#40130A #1C400A #0A3740 #2E0A40
split-complementary
#40130A #0A402E #0A1C40
monochromatic
#1A0804 #1A0804 #40130A #752312 #AA321B

Accessibility & contrast

On white

15.96
#40130A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40130A
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40130A#FFFFFF#000000##FFFFFF
##40130A1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C09
Deuteranopia (green-blind)
#2B2509
Tritanopia (blue-blind)
#470811
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40130a;
/* rgb */ color: rgb(64, 19, 10);
/* oklch */ color: oklch(25.9% 0.073 33.2);
Tailwind
colors: {
  custom: {
    50: '#79534b',
    500: '#40130a',
    950: '#000000',
  },
}
SCSS
$custom: #40130a;
$custom-light: #79534b;
$custom-dark: #000000;
JSON
{
  "hex": "#40130a",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 10
  },
  "hsl": {
    "h": 10,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25893,
    "c": 0.07253,
    "h": 33.2
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#40130A
secondary
#296F7D
accent
#D1F038
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40130A

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

Preview Lab → · Contrast checker → · Palette generator →

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