#401018#401018

#401018 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.7% C 0.074 H 14.3°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#401018
RGBrgb(64, 16, 24)
HSLhsl(350, 60%, 16%)
HSVhsv(350, 75%, 25%)
CMYKcmyk(0%, 75%, 62.5%, 74.9%)
CIE-LABlab(12.78, 23.95, 7.33)
CIE-LCHlch(12.78, 25.05, 17.02°)
OKLaboklab(25.74% 0.0721 0.0183)
OKLCHoklch(25.74% 0.074 14.3)
XYZxyz(2.4647, 1.5268, 1.0289)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401018 #104038
analogous
#401030 #401018 #402010
triadic
#401018 #184010 #101840
tetradic
#401018 #304010 #104038 #201040
square
#401018 #304010 #104038 #201040
split-complementary
#401018 #104020 #103040
monochromatic
#180609 #180609 #401018 #711C2A #A2283D

Accessibility & contrast

On white

16.09
#401018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#401018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401018
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401018#FFFFFF#000000##FFFFFF
##4010181.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B18
Deuteranopia (green-blind)
#282517
Tritanopia (blue-blind)
#470713
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401018;
/* rgb */ color: rgb(64, 16, 24);
/* oklch */ color: oklch(25.7% 0.074 14.3);
Tailwind
colors: {
  custom: {
    50: '#795154',
    500: '#401018',
    950: '#000000',
  },
}
SCSS
$custom: #401018;
$custom-light: #795154;
$custom-dark: #000000;
JSON
{
  "hex": "#401018",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 350,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25743,
    "c": 0.07443,
    "h": 14.3
  },
  "luminance": 0.01527
}

Semantic roles & 50–950 ramp

primary
#401018
secondary
#327A6E
accent
#E3C945
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090202
muted
#7B7878

Preview Lab

Preview with #401018

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

Preview Lab → · Contrast checker → · Palette generator →

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