#40261E#40261E

#40261E is a dark, muted red. Relative luminance 0.026; OKLCH L 29.9% C 0.042 H 37.9°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#40261E
RGBrgb(64, 38, 30)
HSLhsl(14, 36%, 18%)
HSVhsv(14, 53%, 25%)
CMYKcmyk(0%, 40.6%, 53.1%, 74.9%)
CIE-LABlab(18.23, 11.19, 10.41)
CIE-LCHlch(18.23, 15.28, 42.92°)
OKLaboklab(29.93% 0.0333 0.0259)
OKLCHoklch(29.93% 0.042 37.9)
XYZxyz(3.0420, 2.5702, 1.5639)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40261E #1E3840
analogous
#401E27 #40261E #40371E
triadic
#40261E #1E4026 #261E40
tetradic
#40261E #27401E #1E3840 #371E40
square
#40261E #27401E #1E3840 #371E40
split-complementary
#40261E #1E4037 #1E2740
monochromatic
#150C0A #160D0A #40261E #6A3F32 #935745

Accessibility & contrast

On white

13.87
#40261E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#40261E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40261E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40261E#FFFFFF#000000##FFFFFF
##40261E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291D
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#462224
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #40261e;
/* rgb */ color: rgb(64, 38, 30);
/* oklch */ color: oklch(29.9% 0.042 37.9);
Tailwind
colors: {
  custom: {
    50: '#766059',
    500: '#40261e',
    950: '#000000',
  },
}
SCSS
$custom: #40261e;
$custom-light: #766059;
$custom-dark: #000000;
JSON
{
  "hex": "#40261e",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 14.118,
    "s": 36.17,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29933,
    "c": 0.04222,
    "h": 37.9
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#40261E
secondary
#456974
accent
#B2CC5C
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090503
muted
#7B7978

Preview Lab

Preview with #40261E

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

Preview Lab → · Contrast checker → · Palette generator →

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