#40200C#40200C

#40200C is a dark, muted orange. Relative luminance 0.021; OKLCH L 28.3% C 0.058 H 50.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#40200C
RGBrgb(64, 32, 12)
HSLhsl(23, 68%, 15%)
HSVhsv(23, 81%, 25%)
CMYKcmyk(0%, 50%, 81.2%, 74.9%)
CIE-LABlab(16.25, 13.48, 19.15)
CIE-LCHlch(16.25, 23.42, 54.85°)
OKLaboklab(28.31% 0.0371 0.0449)
OKLCHoklch(28.31% 0.058 50.4)
XYZxyz(2.6975, 2.1499, 0.6207)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40200C #0C2C40
analogous
#400C12 #40200C #403A0C
triadic
#40200C #0C4020 #200C40
tetradic
#40200C #12400C #0C2C40 #3A0C40
square
#40200C #12400C #0C2C40 #3A0C40
split-complementary
#40200C #0C403A #0C1240
monochromatic
#1A0D05 #1A0D05 #40200C #743A16 #A7541F

Accessibility & contrast

On white

14.69
#40200C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#40200C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40200C
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40200C#FFFFFF#000000##FFFFFF
##40200C1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240A
Deuteranopia (green-blind)
#312B0C
Tritanopia (blue-blind)
#47191C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #40200c;
/* rgb */ color: rgb(64, 32, 12);
/* oklch */ color: oklch(28.3% 0.058 50.4);
Tailwind
colors: {
  custom: {
    50: '#785c4c',
    500: '#40200c',
    950: '#000000',
  },
}
SCSS
$custom: #40200c;
$custom-light: #785c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40200c",
  "rgb": {
    "r": 64,
    "g": 32,
    "b": 12
  },
  "hsl": {
    "h": 23.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28308,
    "c": 0.05825,
    "h": 50.4
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#40200C
secondary
#2C5D7C
accent
#A8EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40200C

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

Preview Lab → · Contrast checker → · Palette generator →

#40200C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva