#400E16#400E16

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

Color values

HEX#400E16
RGBrgb(64, 14, 22)
HSLhsl(350, 64%, 15%)
HSVhsv(350, 78%, 25%)
CMYKcmyk(0%, 78.1%, 65.6%, 74.9%)
CIE-LABlab(12.37, 24.75, 8.25)
CIE-LCHlch(12.37, 26.09, 18.43°)
OKLaboklab(25.42% 0.0743 0.0204)
OKLCHoklch(25.42% 0.077 15.4)
XYZxyz(2.4164, 1.4623, 0.9139)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E16 #0E4038
analogous
#400E2F #400E16 #401F0E
triadic
#400E16 #16400E #0E1640
tetradic
#400E16 #2F400E #0E4038 #1F0E40
square
#400E16 #2F400E #0E4038 #1F0E40
split-complementary
#400E16 #0E401F #0E2F40
monochromatic
#190509 #190509 #400E16 #721927 #A42439

Accessibility & contrast

On white

16.25
#400E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E16
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E16#FFFFFF#000000##FFFFFF
##400E161.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400e16;
/* rgb */ color: rgb(64, 14, 22);
/* oklch */ color: oklch(25.4% 0.077 15.4);
Tailwind
colors: {
  custom: {
    50: '#795052',
    500: '#400e16',
    950: '#000000',
  },
}
SCSS
$custom: #400e16;
$custom-light: #795052;
$custom-dark: #000000;
JSON
{
  "hex": "#400e16",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 22
  },
  "hsl": {
    "h": 350.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2542,
    "c": 0.07707,
    "h": 15.4
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#400E16
secondary
#2F7B6F
accent
#E7CC41
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400E16

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

Preview Lab → · Contrast checker → · Palette generator →

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