#400F10#400F10

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

Color values

HEX#400F10
RGBrgb(64, 15, 16)
HSLhsl(359, 62%, 15%)
HSVhsv(359, 77%, 25%)
CMYKcmyk(0%, 76.6%, 75%, 74.9%)
CIE-LABlab(12.41, 23.79, 12.12)
CIE-LCHlch(12.41, 26.70, 27.01°)
OKLaboklab(25.41% 0.0699 0.03)
OKLCHoklch(25.41% 0.076 23.3)
XYZxyz(2.3789, 1.4694, 0.6485)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F10 #0F403F
analogous
#400F28 #400F10 #40260F
triadic
#400F10 #10400F #0F1040
tetradic
#400F10 #28400F #0F403F #260F40
square
#400F10 #28400F #0F403F #260F40
split-complementary
#400F10 #0F4026 #0F2840
monochromatic
#190606 #190606 #400F10 #721B1C #A32629

Accessibility & contrast

On white

16.23
#400F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F10
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F10#FFFFFF#000000##FFFFFF
##400F101.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1A10
Deuteranopia (green-blind)
#29240F
Tritanopia (blue-blind)
#470410
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400f10;
/* rgb */ color: rgb(64, 15, 16);
/* oklch */ color: oklch(25.4% 0.076 23.3);
Tailwind
colors: {
  custom: {
    50: '#79514e',
    500: '#400f10',
    950: '#000000',
  },
}
SCSS
$custom: #400f10;
$custom-light: #79514e;
$custom-dark: #000000;
JSON
{
  "hex": "#400f10",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 16
  },
  "hsl": {
    "h": 358.776,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25411,
    "c": 0.07609,
    "h": 23.3
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#400F10
secondary
#307A79
accent
#E5E243
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #400F10

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

Preview Lab → · Contrast checker → · Palette generator →

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