#400F03#400F03

#400F03 is a dark, moderate red. Relative luminance 0.014; OKLCH L 25.2% C 0.079 H 36.0°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#400F03
RGBrgb(64, 15, 3)
HSLhsl(12, 91%, 13%)
HSVhsv(12, 95%, 25%)
CMYKcmyk(0%, 76.6%, 95.3%, 74.9%)
CIE-LABlab(12.21, 23.06, 17.59)
CIE-LCHlch(12.21, 29.00, 37.33°)
OKLaboklab(25.2% 0.0641 0.0466)
OKLCHoklch(25.2% 0.079 36)
XYZxyz(2.3019, 1.4386, 0.2426)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F03 #033440
analogous
#400315 #400F03 #402D03
triadic
#400F03 #03400F #0F0340
tetradic
#400F03 #154003 #033440 #2D0340
square
#400F03 #154003 #033440 #2D0340
split-complementary
#400F03 #03402D #031540
monochromatic
#1D0701 #1D0701 #400F03 #7A1D06 #B52A08

Accessibility & contrast

On white

16.31
#400F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F03
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F03#FFFFFF#000000##FFFFFF
##400F031.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1902
Deuteranopia (green-blind)
#2A2402
Tritanopia (blue-blind)
#47020C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f03;
/* rgb */ color: rgb(64, 15, 3);
/* oklch */ color: oklch(25.2% 0.079 36.0);
Tailwind
colors: {
  custom: {
    50: '#7a5148',
    500: '#400f03',
    950: '#000000',
  },
}
SCSS
$custom: #400f03;
$custom-light: #7a5148;
$custom-dark: #000000;
JSON
{
  "hex": "#400f03",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 3
  },
  "hsl": {
    "h": 11.803,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25197,
    "c": 0.07921,
    "h": 36
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#400F03
secondary
#1D6E82
accent
#D5FF29
background
#F7F4F4
surface
#EEE7E6
border
#C9C3C2
text
#0A0200
muted
#7C7877

Preview Lab

Preview with #400F03

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

Preview Lab → · Contrast checker → · Palette generator →

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