#402013#402013

#402013 is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.4% C 0.054 H 42.4°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#402013
RGBrgb(64, 32, 19)
HSLhsl(17, 54%, 16%)
HSVhsv(17, 70%, 25%)
CMYKcmyk(0%, 50%, 70.3%, 74.9%)
CIE-LABlab(16.36, 14.00, 15.47)
CIE-LCHlch(16.36, 20.87, 47.85°)
OKLaboklab(28.42% 0.0401 0.0366)
OKLCHoklch(28.42% 0.054 42.4)
XYZxyz(2.7486, 2.1703, 0.8901)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402013 #133340
analogous
#40131D #402013 #403713
triadic
#402013 #134020 #201340
tetradic
#402013 #1D4013 #133340 #371340
square
#402013 #1D4013 #133340 #371340
split-complementary
#402013 #134037 #131D40
monochromatic
#180C07 #180C07 #402013 #6F3821 #9E4F2F

Accessibility & contrast

On white

14.64
#402013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#402013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402013
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402013#FFFFFF#000000##FFFFFF
##4020131.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#302B13
Tritanopia (blue-blind)
#461A1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #402013;
/* rgb */ color: rgb(64, 32, 19);
/* oklch */ color: oklch(28.4% 0.054 42.4);
Tailwind
colors: {
  custom: {
    50: '#785c50',
    500: '#402013',
    950: '#000000',
  },
}
SCSS
$custom: #402013;
$custom-light: #785c50;
$custom-dark: #000000;
JSON
{
  "hex": "#402013",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 19
  },
  "hsl": {
    "h": 17.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28419,
    "c": 0.05432,
    "h": 42.4
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#402013
secondary
#366579
accent
#B3DE4A
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402013

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

Preview Lab → · Contrast checker → · Palette generator →

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