#401307#401307

#401307 is a dark, moderate red. Relative luminance 0.016; OKLCH L 25.9% C 0.073 H 36.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#401307
RGBrgb(64, 19, 7)
HSLhsl(13, 80%, 14%)
HSVhsv(13, 89%, 25%)
CMYKcmyk(0%, 70.3%, 89.1%, 74.9%)
CIE-LABlab(13.05, 21.16, 17.09)
CIE-LCHlch(13.05, 27.20, 38.93°)
OKLaboklab(25.85% 0.0595 0.0431)
OKLCHoklch(25.85% 0.073 36)
XYZxyz(2.3858, 1.5714, 0.3787)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401307 #073440
analogous
#400718 #401307 #403007
triadic
#401307 #074013 #130740
tetradic
#401307 #184007 #073440 #300740
square
#401307 #184007 #073440 #300740
split-complementary
#401307 #074030 #071840
monochromatic
#1C0803 #1C0803 #401307 #77230D #AE3413

Accessibility & contrast

On white

15.98
#401307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401307
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401307#FFFFFF#000000##FFFFFF
##4013071.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B06
Deuteranopia (green-blind)
#2B2506
Tritanopia (blue-blind)
#470810
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401307;
/* rgb */ color: rgb(64, 19, 7);
/* oklch */ color: oklch(25.9% 0.073 36.0);
Tailwind
colors: {
  custom: {
    50: '#795349',
    500: '#401307',
    950: '#000000',
  },
}
SCSS
$custom: #401307;
$custom-light: #795349;
$custom-dark: #000000;
JSON
{
  "hex": "#401307",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 7
  },
  "hsl": {
    "h": 12.632,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2585,
    "c": 0.07346,
    "h": 36
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#401307
secondary
#246C7F
accent
#CDF731
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #401307

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

Preview Lab → · Contrast checker → · Palette generator →

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