#400E19#400E19

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

Color values

HEX#400E19
RGBrgb(64, 14, 25)
HSLhsl(347, 64%, 15%)
HSVhsv(347, 78%, 25%)
CMYKcmyk(0%, 78.1%, 60.9%, 74.9%)
CIE-LABlab(12.45, 25.03, 6.13)
CIE-LCHlch(12.45, 25.77, 13.77°)
OKLaboklab(25.5% 0.0757 0.0155)
OKLCHoklch(25.5% 0.077 11.6)
XYZxyz(2.4471, 1.4746, 1.0753)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E19 #0E4035
analogous
#400E32 #400E19 #401C0E
triadic
#400E19 #19400E #0E1940
tetradic
#400E19 #32400E #0E4035 #1C0E40
square
#400E19 #32400E #0E4035 #1C0E40
split-complementary
#400E19 #0E401C #0E3240
monochromatic
#19050A #19050A #400E19 #72192D #A42440

Accessibility & contrast

On white

16.22
#400E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E19
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E19#FFFFFF#000000##FFFFFF
##400E191.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A19
Deuteranopia (green-blind)
#272418
Tritanopia (blue-blind)
#470512
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400e19;
/* rgb */ color: rgb(64, 14, 25);
/* oklch */ color: oklch(25.5% 0.077 11.6);
Tailwind
colors: {
  custom: {
    50: '#795055',
    500: '#400e19',
    950: '#000000',
  },
}
SCSS
$custom: #400e19;
$custom-light: #795055;
$custom-dark: #000000;
JSON
{
  "hex": "#400e19",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 25
  },
  "hsl": {
    "h": 346.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25504,
    "c": 0.07731,
    "h": 11.6
  },
  "luminance": 0.01474
}

Semantic roles & 50–950 ramp

primary
#400E19
secondary
#2F7B6A
accent
#E7C241
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090203
muted
#7B7878

Preview Lab

Preview with #400E19

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

Preview Lab → · Contrast checker → · Palette generator →

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