#402303#402303

#402303 is a dark, moderate orange. Relative luminance 0.023; OKLCH L 28.8% C 0.062 H 63.3°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#402303
RGBrgb(64, 35, 3)
HSLhsl(31, 91%, 13%)
HSVhsv(31, 95%, 25%)
CMYKcmyk(0%, 45.3%, 95.3%, 74.9%)
CIE-LABlab(16.98, 10.99, 23.76)
CIE-LCHlch(16.98, 26.18, 65.17°)
OKLaboklab(28.84% 0.0279 0.0555)
OKLCHoklch(28.84% 0.062 63.3)
XYZxyz(2.7321, 2.2989, 0.3860)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402303 #032040
analogous
#400403 #402303 #3E4003
triadic
#402303 #034023 #230340
tetradic
#402303 #034004 #032040 #40033E
square
#402303 #034004 #032040 #40033E
split-complementary
#402303 #033E40 #040340
monochromatic
#1D1001 #1D1001 #402303 #7A4306 #B56308

Accessibility & contrast

On white

14.39
#402303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#402303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402303
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402303#FFFFFF#000000##FFFFFF
##4023031.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#332C03
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402303;
/* rgb */ color: rgb(64, 35, 3);
/* oklch */ color: oklch(28.8% 0.062 63.3);
Tailwind
colors: {
  custom: {
    50: '#785e48',
    500: '#402303',
    950: '#000000',
  },
}
SCSS
$custom: #402303;
$custom-light: #785e48;
$custom-dark: #000000;
JSON
{
  "hex": "#402303",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 3
  },
  "hsl": {
    "h": 31.475,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.28839,
    "c": 0.06207,
    "h": 63.3
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#402303
secondary
#1D4D82
accent
#8FFF29
background
#F7F5F4
surface
#EEE9E6
border
#C9C5C2
text
#090400
muted
#7B7977

Preview Lab

Preview with #402303

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

Preview Lab → · Contrast checker → · Palette generator →

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