#40130B#40130B

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

Color values

HEX#40130B
RGBrgb(64, 19, 11)
HSLhsl(9, 71%, 15%)
HSVhsv(9, 83%, 25%)
CMYKcmyk(0%, 70.3%, 82.8%, 74.9%)
CIE-LABlab(13.11, 21.38, 15.52)
CIE-LCHlch(13.11, 26.42, 35.99°)
OKLaboklab(25.91% 0.0611 0.0385)
OKLCHoklch(25.91% 0.072 32.2)
XYZxyz(2.4079, 1.5802, 0.4948)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40130B #0B3840
analogous
#400B1D #40130B #402E0B
triadic
#40130B #0B4013 #130B40
tetradic
#40130B #1D400B #0B3840 #2E0B40
square
#40130B #1D400B #0B3840 #2E0B40
split-complementary
#40130B #0B402E #0B1D40
monochromatic
#1A0804 #1A0804 #40130B #742314 #A8321D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40130B#FFFFFF#000000##FFFFFF
##40130B1.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)
#1F1C0A
Deuteranopia (green-blind)
#2B250A
Tritanopia (blue-blind)
#470811
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40130b;
/* rgb */ color: rgb(64, 19, 11);
/* oklch */ color: oklch(25.9% 0.072 32.2);
Tailwind
colors: {
  custom: {
    50: '#79534b',
    500: '#40130b',
    950: '#000000',
  },
}
SCSS
$custom: #40130b;
$custom-light: #79534b;
$custom-dark: #000000;
JSON
{
  "hex": "#40130b",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 11
  },
  "hsl": {
    "h": 9.057,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25908,
    "c": 0.07225,
    "h": 32.2
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#40130B
secondary
#2A707D
accent
#D2ED3A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40130B

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

Preview Lab → · Contrast checker → · Palette generator →

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