#400C10#400C10

#400C10 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.0% C 0.080 H 21.0°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#400C10
RGBrgb(64, 12, 16)
HSLhsl(355, 68%, 15%)
HSVhsv(355, 81%, 25%)
CMYKcmyk(0%, 81.2%, 75%, 74.9%)
CIE-LABlab(11.90, 25.21, 11.42)
CIE-LCHlch(11.90, 27.67, 24.38°)
OKLaboklab(25.03% 0.0744 0.0286)
OKLCHoklch(25.03% 0.08 21)
XYZxyz(2.3396, 1.3907, 0.6353)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C10 #0C403C
analogous
#400C2A #400C10 #40220C
triadic
#400C10 #10400C #0C1040
tetradic
#400C10 #2A400C #0C403C #220C40
square
#400C10 #2A400C #0C403C #220C40
split-complementary
#400C10 #0C4022 #0C2A40
monochromatic
#1A0506 #1A0506 #400C10 #74161D #A71F2A

Accessibility & contrast

On white

16.43
#400C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400C10
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C10#FFFFFF#000000##FFFFFF
##400C101.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1810
Deuteranopia (green-blind)
#28230E
Tritanopia (blue-blind)
#47010E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400c10;
/* rgb */ color: rgb(64, 12, 16);
/* oklch */ color: oklch(25.0% 0.080 21.0);
Tailwind
colors: {
  custom: {
    50: '#794f4e',
    500: '#400c10',
    950: '#000000',
  },
}
SCSS
$custom: #400c10;
$custom-light: #794f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#400c10",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 16
  },
  "hsl": {
    "h": 355.385,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25025,
    "c": 0.07971,
    "h": 21
  },
  "luminance": 0.0139
}

Semantic roles & 50–950 ramp

primary
#400C10
secondary
#2C7C76
accent
#EBDE3D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400C10

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

Preview Lab → · Contrast checker → · Palette generator →

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