#402813#402813

#402813 is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.2% C 0.049 H 60.5°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#402813
RGBrgb(64, 40, 19)
HSLhsl(28, 54%, 16%)
HSVhsv(28, 70%, 25%)
CMYKcmyk(0%, 37.5%, 70.3%, 74.9%)
CIE-LABlab(18.60, 8.70, 18.19)
CIE-LCHlch(18.60, 20.16, 64.45°)
OKLaboklab(30.15% 0.0241 0.0425)
OKLCHoklch(30.15% 0.049 60.5)
XYZxyz(2.9909, 2.6548, 0.9709)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402813 #132B40
analogous
#401315 #402813 #403F13
triadic
#402813 #134028 #281340
tetradic
#402813 #154013 #132B40 #3F1340
square
#402813 #154013 #132B40 #3F1340
split-complementary
#402813 #13403F #131540
monochromatic
#180F07 #180F07 #402813 #6F4521 #9E632F

Accessibility & contrast

On white

13.72
#402813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#402813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402813
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402813#FFFFFF#000000##FFFFFF
##4028131.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A11
Deuteranopia (green-blind)
#352F13
Tritanopia (blue-blind)
#462323
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402813;
/* rgb */ color: rgb(64, 40, 19);
/* oklch */ color: oklch(30.2% 0.049 60.5);
Tailwind
colors: {
  custom: {
    50: '#776251',
    500: '#402813',
    950: '#000000',
  },
}
SCSS
$custom: #402813;
$custom-light: #776251;
$custom-dark: #000000;
JSON
{
  "hex": "#402813",
  "rgb": {
    "r": 64,
    "g": 40,
    "b": 19
  },
  "hsl": {
    "h": 28,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.30154,
    "c": 0.04888,
    "h": 60.5
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#402813
secondary
#365A79
accent
#99DE4A
background
#F7F5F4
surface
#EDEAE7
border
#C8C6C3
text
#090502
muted
#7B7978

Preview Lab

Preview with #402813

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

Preview Lab → · Contrast checker → · Palette generator →

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