#40220B#40220B

#40220B is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.7% C 0.057 H 55.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#40220B
RGBrgb(64, 34, 11)
HSLhsl(26, 71%, 15%)
HSVhsv(26, 83%, 25%)
CMYKcmyk(0%, 46.9%, 82.8%, 74.9%)
CIE-LABlab(16.79, 12.11, 20.25)
CIE-LCHlch(16.79, 23.60, 59.13°)
OKLaboklab(28.72% 0.0328 0.0471)
OKLCHoklch(28.72% 0.057 55.2)
XYZxyz(2.7470, 2.2585, 0.6078)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40220B #0B2940
analogous
#400B0E #40220B #403D0B
triadic
#40220B #0B4022 #220B40
tetradic
#40220B #0E400B #0B2940 #3D0B40
square
#40220B #0E400B #0B2940 #3D0B40
split-complementary
#40220B #0B403D #0B0E40
monochromatic
#1A0E04 #1A0E04 #40220B #743E14 #A8591D

Accessibility & contrast

On white

14.47
#40220B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#40220B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40220B
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40220B#FFFFFF#000000##FFFFFF
##40220B1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2508
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#471C1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40220b;
/* rgb */ color: rgb(64, 34, 11);
/* oklch */ color: oklch(28.7% 0.057 55.2);
Tailwind
colors: {
  custom: {
    50: '#785d4c',
    500: '#40220b',
    950: '#000000',
  },
}
SCSS
$custom: #40220b;
$custom-light: #785d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40220b",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 11
  },
  "hsl": {
    "h": 26.038,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.05743,
    "h": 55.2
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#40220B
secondary
#2A597D
accent
#A0ED3A
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40220B

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

Preview Lab → · Contrast checker → · Palette generator →

#40220B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva