#40130E#40130E

#40130E is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.0% C 0.071 H 29.2°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#40130E
RGBrgb(64, 19, 14)
HSLhsl(6, 64%, 15%)
HSVhsv(6, 78%, 25%)
CMYKcmyk(0%, 70.3%, 78.1%, 74.9%)
CIE-LABlab(13.16, 21.56, 14.18)
CIE-LCHlch(13.16, 25.81, 33.34°)
OKLaboklab(25.96% 0.0624 0.0348)
OKLCHoklch(25.96% 0.071 29.2)
XYZxyz(2.4267, 1.5878, 0.5941)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40130E #0E3B40
analogous
#400E22 #40130E #402C0E
triadic
#40130E #0E4013 #130E40
tetradic
#40130E #22400E #0E3B40 #2C0E40
square
#40130E #22400E #0E3B40 #2C0E40
split-complementary
#40130E #0E402C #0E2240
monochromatic
#190705 #190705 #40130E #722219 #A43124

Accessibility & contrast

On white

15.94
#40130E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40130E
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40130E#FFFFFF#000000##FFFFFF
##40130E1.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40130e;
/* rgb */ color: rgb(64, 19, 14);
/* oklch */ color: oklch(26.0% 0.071 29.2);
Tailwind
colors: {
  custom: {
    50: '#79534d',
    500: '#40130e',
    950: '#000000',
  },
}
SCSS
$custom: #40130e;
$custom-light: #79534d;
$custom-dark: #000000;
JSON
{
  "hex": "#40130e",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 14
  },
  "hsl": {
    "h": 6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25958,
    "c": 0.07147,
    "h": 29.2
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#40130E
secondary
#2F737B
accent
#D6E741
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40130E

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

Preview Lab → · Contrast checker → · Palette generator →

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