#400C13#400C13

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

Color values

HEX#400C13
RGBrgb(64, 12, 19)
HSLhsl(352, 68%, 15%)
HSVhsv(352, 81%, 25%)
CMYKcmyk(0%, 81.2%, 70.3%, 74.9%)
CIE-LABlab(11.96, 25.43, 9.72)
CIE-LCHlch(11.96, 27.22, 20.93°)
OKLaboklab(25.09% 0.0758 0.0241)
OKLCHoklch(25.09% 0.08 17.6)
XYZxyz(2.3636, 1.4003, 0.7618)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400C13 #0C4039
analogous
#400C2D #400C13 #401F0C
triadic
#400C13 #13400C #0C1340
tetradic
#400C13 #2D400C #0C4039 #1F0C40
square
#400C13 #2D400C #0C4039 #1F0C40
split-complementary
#400C13 #0C401F #0C2D40
monochromatic
#1A0508 #1A0508 #400C13 #741622 #A71F32

Accessibility & contrast

On white

16.41
#400C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400C13
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400C13#FFFFFF#000000##FFFFFF
##400C131.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1813
Deuteranopia (green-blind)
#272312
Tritanopia (blue-blind)
#47010F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400c13;
/* rgb */ color: rgb(64, 12, 19);
/* oklch */ color: oklch(25.1% 0.080 17.6);
Tailwind
colors: {
  custom: {
    50: '#794f50',
    500: '#400c13',
    950: '#000000',
  },
}
SCSS
$custom: #400c13;
$custom-light: #794f50;
$custom-dark: #000000;
JSON
{
  "hex": "#400c13",
  "rgb": {
    "r": 64,
    "g": 12,
    "b": 19
  },
  "hsl": {
    "h": 351.923,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25094,
    "c": 0.07957,
    "h": 17.6
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#400C13
secondary
#2C7C71
accent
#EBD43D
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400C13

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

Preview Lab → · Contrast checker → · Palette generator →

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