#402313#402313

#402313 is a dark, muted orange. Relative luminance 0.023; OKLCH L 29.0% C 0.052 H 48.7°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#402313
RGBrgb(64, 35, 19)
HSLhsl(21, 54%, 16%)
HSVhsv(21, 70%, 25%)
CMYKcmyk(0%, 45.3%, 70.3%, 74.9%)
CIE-LABlab(17.18, 12.03, 16.48)
CIE-LCHlch(17.18, 20.40, 53.87°)
OKLaboklab(29.05% 0.0341 0.0388)
OKLCHoklch(29.05% 0.052 48.7)
XYZxyz(2.8331, 2.3393, 0.9183)
Luminance0.0234 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402313 #133040
analogous
#40131A #402313 #403A13
triadic
#402313 #134023 #231340
tetradic
#402313 #1A4013 #133040 #3A1340
square
#402313 #1A4013 #133040 #3A1340
split-complementary
#402313 #13403A #131A40
monochromatic
#180D07 #180D07 #402313 #6F3D21 #9E572F

Accessibility & contrast

On white

14.31
#402313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#402313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402313
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402313#FFFFFF#000000##FFFFFF
##4023131.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2612
Deuteranopia (green-blind)
#322D13
Tritanopia (blue-blind)
#461D1F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402313;
/* rgb */ color: rgb(64, 35, 19);
/* oklch */ color: oklch(29.0% 0.052 48.7);
Tailwind
colors: {
  custom: {
    50: '#785e51',
    500: '#402313',
    950: '#000000',
  },
}
SCSS
$custom: #402313;
$custom-light: #785e51;
$custom-dark: #000000;
JSON
{
  "hex": "#402313",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 19
  },
  "hsl": {
    "h": 21.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.29048,
    "c": 0.05168,
    "h": 48.7
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#402313
secondary
#366179
accent
#A9DE4A
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402313

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

Preview Lab → · Contrast checker → · Palette generator →

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