#401712#401712

#401712 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.7% C 0.065 H 29.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#401712
RGBrgb(64, 23, 18)
HSLhsl(7, 56%, 16%)
HSVhsv(7, 72%, 25%)
CMYKcmyk(0%, 64.1%, 71.9%, 74.9%)
CIE-LABlab(14.10, 19.56, 13.21)
CIE-LCHlch(14.10, 23.60, 34.02°)
OKLaboklab(26.69% 0.0571 0.0318)
OKLCHoklch(26.69% 0.065 29.1)
XYZxyz(2.5302, 1.7468, 0.7761)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401712 #123B40
analogous
#401224 #401712 #402E12
triadic
#401712 #124017 #171240
tetradic
#401712 #244012 #123B40 #2E1240
square
#401712 #244012 #123B40 #2E1240
split-complementary
#401712 #12402E #122440
monochromatic
#180907 #180907 #401712 #70281F #A0392D

Accessibility & contrast

On white

15.56
#401712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401712
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401712#FFFFFF#000000##FFFFFF
##4017121.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#2C2711
Tritanopia (blue-blind)
#470F16
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401712;
/* rgb */ color: rgb(64, 23, 18);
/* oklch */ color: oklch(26.7% 0.065 29.1);
Tailwind
colors: {
  custom: {
    50: '#79554f',
    500: '#401712',
    950: '#000000',
  },
}
SCSS
$custom: #401712;
$custom-light: #79554f;
$custom-dark: #000000;
JSON
{
  "hex": "#401712",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 18
  },
  "hsl": {
    "h": 6.522,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26692,
    "c": 0.06534,
    "h": 29.1
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#401712
secondary
#357279
accent
#CFDF48
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090302
muted
#7B7878

Preview Lab

Preview with #401712

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

Preview Lab → · Contrast checker → · Palette generator →

#401712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva