#40130F#40130F

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

Color values

HEX#40130F
RGBrgb(64, 19, 15)
HSLhsl(5, 62%, 15%)
HSVhsv(5, 77%, 25%)
CMYKcmyk(0%, 70.3%, 76.6%, 74.9%)
CIE-LABlab(13.17, 21.63, 13.69)
CIE-LCHlch(13.17, 25.60, 32.34°)
OKLaboklab(25.98% 0.0629 0.0335)
OKLCHoklch(25.98% 0.071 28.1)
XYZxyz(2.4337, 1.5906, 0.6307)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40130F #0F3C40
analogous
#400F23 #40130F #402B0F
triadic
#40130F #0F4013 #130F40
tetradic
#40130F #23400F #0F3C40 #2B0F40
square
#40130F #23400F #0F3C40 #2B0F40
split-complementary
#40130F #0F402B #0F2340
monochromatic
#190706 #190706 #40130F #72221B #A33026

Accessibility & contrast

On white

15.93
#40130F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40130F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40130F#FFFFFF#000000##FFFFFF
##40130F1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40130f;
/* rgb */ color: rgb(64, 19, 15);
/* oklch */ color: oklch(26.0% 0.071 28.1);
Tailwind
colors: {
  custom: {
    50: '#79534d',
    500: '#40130f',
    950: '#000000',
  },
}
SCSS
$custom: #40130f;
$custom-light: #79534d;
$custom-dark: #000000;
JSON
{
  "hex": "#40130f",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 15
  },
  "hsl": {
    "h": 4.898,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25976,
    "c": 0.07123,
    "h": 28.1
  },
  "luminance": 0.0159
}

Semantic roles & 50–950 ramp

primary
#40130F
secondary
#30747A
accent
#D8E543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40130F

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

Preview Lab → · Contrast checker → · Palette generator →

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