#40110F#40110F

#40110F is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.074 H 26.1°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#40110F
RGBrgb(64, 17, 15)
HSLhsl(2, 62%, 15%)
HSVhsv(2, 77%, 25%)
CMYKcmyk(0%, 73.4%, 76.6%, 74.9%)
CIE-LABlab(12.77, 22.70, 13.15)
CIE-LCHlch(12.77, 26.24, 30.08°)
OKLaboklab(25.67% 0.0662 0.0325)
OKLCHoklch(25.67% 0.074 26.1)
XYZxyz(2.4013, 1.5257, 0.6199)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40110F #0F3E40
analogous
#400F25 #40110F #40290F
triadic
#40110F #0F4011 #110F40
tetradic
#40110F #25400F #0F3E40 #290F40
square
#40110F #25400F #0F3E40 #290F40
split-complementary
#40110F #0F4029 #0F2540
monochromatic
#190706 #190706 #40110F #721E1B #A32B26

Accessibility & contrast

On white

16.09
#40110F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#40110F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40110F
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40110F#FFFFFF#000000##FFFFFF
##40110F1.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B0E
Deuteranopia (green-blind)
#29250E
Tritanopia (blue-blind)
#470611
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40110f;
/* rgb */ color: rgb(64, 17, 15);
/* oklch */ color: oklch(25.7% 0.074 26.1);
Tailwind
colors: {
  custom: {
    50: '#79524d',
    500: '#40110f',
    950: '#000000',
  },
}
SCSS
$custom: #40110f;
$custom-light: #79524d;
$custom-dark: #000000;
JSON
{
  "hex": "#40110f",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 15
  },
  "hsl": {
    "h": 2.449,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25674,
    "c": 0.07375,
    "h": 26.1
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#40110F
secondary
#30777A
accent
#DEE543
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40110F

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

Preview Lab → · Contrast checker → · Palette generator →

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