#401710#401710

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

Color values

HEX#401710
RGBrgb(64, 23, 16)
HSLhsl(9, 60%, 16%)
HSVhsv(9, 75%, 25%)
CMYKcmyk(0%, 64.1%, 75%, 74.9%)
CIE-LABlab(14.06, 19.41, 14.32)
CIE-LCHlch(14.06, 24.12, 36.43°)
OKLaboklab(26.65% 0.0562 0.0345)
OKLCHoklch(26.65% 0.066 31.6)
XYZxyz(2.5145, 1.7405, 0.6937)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401710 #103940
analogous
#401021 #401710 #402F10
triadic
#401710 #104017 #171040
tetradic
#401710 #214010 #103940 #2F1040
square
#401710 #214010 #103940 #2F1040
split-complementary
#401710 #10402F #102140
monochromatic
#180906 #180906 #401710 #71291C #A23A28

Accessibility & contrast

On white

15.58
#401710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401710
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401710#FFFFFF#000000##FFFFFF
##4017101.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221E0F
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#470F15
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401710;
/* rgb */ color: rgb(64, 23, 16);
/* oklch */ color: oklch(26.7% 0.066 31.6);
Tailwind
colors: {
  custom: {
    50: '#79554e',
    500: '#401710',
    950: '#000000',
  },
}
SCSS
$custom: #401710;
$custom-light: #79554e;
$custom-dark: #000000;
JSON
{
  "hex": "#401710",
  "rgb": {
    "r": 64,
    "g": 23,
    "b": 16
  },
  "hsl": {
    "h": 8.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.06592,
    "h": 31.6
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#401710
secondary
#326F7A
accent
#CCE345
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090301
muted
#7B7877

Preview Lab

Preview with #401710

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

Preview Lab → · Contrast checker → · Palette generator →

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