#400E15#400E15

#400E15 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.4% C 0.077 H 16.6°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#400E15
RGBrgb(64, 14, 21)
HSLhsl(352, 64%, 15%)
HSVhsv(352, 78%, 25%)
CMYKcmyk(0%, 78.1%, 67.2%, 74.9%)
CIE-LABlab(12.34, 24.67, 8.92)
CIE-LCHlch(12.34, 26.23, 19.88°)
OKLaboklab(25.39% 0.0738 0.022)
OKLCHoklch(25.39% 0.077 16.6)
XYZxyz(2.4070, 1.4585, 0.8641)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E15 #0E4039
analogous
#400E2E #400E15 #40200E
triadic
#400E15 #15400E #0E1540
tetradic
#400E15 #2E400E #0E4039 #200E40
square
#400E15 #2E400E #0E4039 #200E40
split-complementary
#400E15 #0E4020 #0E2E40
monochromatic
#190508 #190508 #400E15 #721925 #A42436

Accessibility & contrast

On white

16.26
#400E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E15
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E15#FFFFFF#000000##FFFFFF
##400E151.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1A15
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#470411
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e15;
/* rgb */ color: rgb(64, 14, 21);
/* oklch */ color: oklch(25.4% 0.077 16.6);
Tailwind
colors: {
  custom: {
    50: '#795052',
    500: '#400e15',
    950: '#000000',
  },
}
SCSS
$custom: #400e15;
$custom-light: #795052;
$custom-dark: #000000;
JSON
{
  "hex": "#400e15",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 21
  },
  "hsl": {
    "h": 351.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25394,
    "c": 0.07704,
    "h": 16.6
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#400E15
secondary
#2F7B70
accent
#E7D041
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400E15

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

Preview Lab → · Contrast checker → · Palette generator →

#400E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva