#401015#401015

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

Color values

HEX#401015
RGBrgb(64, 16, 21)
HSLhsl(354, 60%, 16%)
HSVhsv(354, 75%, 25%)
CMYKcmyk(0%, 75%, 67.2%, 74.9%)
CIE-LABlab(12.70, 23.68, 9.41)
CIE-LCHlch(12.70, 25.48, 21.67°)
OKLaboklab(25.66% 0.0707 0.0231)
OKLCHoklch(25.66% 0.074 18.1)
XYZxyz(2.4352, 1.5150, 0.8735)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401015 #10403B
analogous
#40102D #401015 #402310
triadic
#401015 #154010 #101540
tetradic
#401015 #2D4010 #10403B #231040
square
#401015 #2D4010 #10403B #231040
split-complementary
#401015 #104023 #102D40
monochromatic
#180608 #180608 #401015 #711C25 #A22835

Accessibility & contrast

On white

16.12
#401015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#401015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401015
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401015#FFFFFF#000000##FFFFFF
##4010151.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B15
Deuteranopia (green-blind)
#282514
Tritanopia (blue-blind)
#470612
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #401015;
/* rgb */ color: rgb(64, 16, 21);
/* oklch */ color: oklch(25.7% 0.074 18.1);
Tailwind
colors: {
  custom: {
    50: '#795152',
    500: '#401015',
    950: '#000000',
  },
}
SCSS
$custom: #401015;
$custom-light: #795152;
$custom-dark: #000000;
JSON
{
  "hex": "#401015",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 21
  },
  "hsl": {
    "h": 353.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25663,
    "c": 0.07438,
    "h": 18.1
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#401015
secondary
#327A72
accent
#E3D345
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0202
muted
#7C7878

Preview Lab

Preview with #401015

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

Preview Lab → · Contrast checker → · Palette generator →

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