#40101A#40101A

#40101A is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.8% C 0.075 H 11.6°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#40101A
RGBrgb(64, 16, 26)
HSLhsl(348, 60%, 16%)
HSVhsv(348, 75%, 25%)
CMYKcmyk(0%, 75%, 59.4%, 74.9%)
CIE-LABlab(12.83, 24.15, 5.92)
CIE-LCHlch(12.83, 24.87, 13.79°)
OKLaboklab(25.8% 0.0731 0.015)
OKLCHoklch(25.8% 0.075 11.6)
XYZxyz(2.4863, 1.5355, 1.1425)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40101A #104036
analogous
#401032 #40101A #401E10
triadic
#40101A #1A4010 #101A40
tetradic
#40101A #324010 #104036 #1E1040
square
#40101A #324010 #104036 #1E1040
split-complementary
#40101A #10401E #103240
monochromatic
#18060A #18060A #40101A #711C2E #A22842

Accessibility & contrast

On white

16.07
#40101A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#40101A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40101A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40101A#FFFFFF#000000##FFFFFF
##40101A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1A
Deuteranopia (green-blind)
#282519
Tritanopia (blue-blind)
#470814
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40101a;
/* rgb */ color: rgb(64, 16, 26);
/* oklch */ color: oklch(25.8% 0.075 11.6);
Tailwind
colors: {
  custom: {
    50: '#785256',
    500: '#40101a',
    950: '#000000',
  },
}
SCSS
$custom: #40101a;
$custom-light: #785256;
$custom-dark: #000000;
JSON
{
  "hex": "#40101a",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 26
  },
  "hsl": {
    "h": 347.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25801,
    "c": 0.07461,
    "h": 11.6
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#40101A
secondary
#327A6B
accent
#E3C245
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#090203
muted
#7B7878

Preview Lab

Preview with #40101A

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

Preview Lab → · Contrast checker → · Palette generator →

#40101A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva