#400F15#400F15

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

Color values

HEX#400F15
RGBrgb(64, 15, 21)
HSLhsl(353, 62%, 15%)
HSVhsv(353, 77%, 25%)
CMYKcmyk(0%, 76.6%, 67.2%, 74.9%)
CIE-LABlab(12.52, 24.18, 9.16)
CIE-LCHlch(12.52, 25.86, 20.75°)
OKLaboklab(25.53% 0.0723 0.0226)
OKLCHoklch(25.53% 0.076 17.3)
XYZxyz(2.4208, 1.4861, 0.8687)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F15 #0F403A
analogous
#400F2D #400F15 #40210F
triadic
#400F15 #15400F #0F1540
tetradic
#400F15 #2D400F #0F403A #210F40
square
#400F15 #2D400F #0F403A #210F40
split-complementary
#400F15 #0F4021 #0F2D40
monochromatic
#190608 #190608 #400F15 #721B25 #A32636

Accessibility & contrast

On white

16.19
#400F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F15
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F15#FFFFFF#000000##FFFFFF
##400F151.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1A15
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#470511
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400f15;
/* rgb */ color: rgb(64, 15, 21);
/* oklch */ color: oklch(25.5% 0.076 17.3);
Tailwind
colors: {
  custom: {
    50: '#795152',
    500: '#400f15',
    950: '#000000',
  },
}
SCSS
$custom: #400f15;
$custom-light: #795152;
$custom-dark: #000000;
JSON
{
  "hex": "#400f15",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 21
  },
  "hsl": {
    "h": 352.653,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25526,
    "c": 0.07572,
    "h": 17.3
  },
  "luminance": 0.01486
}

Semantic roles & 50–950 ramp

primary
#400F15
secondary
#307A71
accent
#E5D143
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #400F15

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

Preview Lab → · Contrast checker → · Palette generator →

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