#40210C#40210C

#40210C is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.5% C 0.058 H 52.3°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#40210C
RGBrgb(64, 33, 12)
HSLhsl(24, 68%, 15%)
HSVhsv(24, 81%, 25%)
CMYKcmyk(0%, 48.4%, 81.2%, 74.9%)
CIE-LABlab(16.53, 12.83, 19.48)
CIE-LCHlch(16.53, 23.33, 56.64°)
OKLaboklab(28.52% 0.0352 0.0455)
OKLCHoklch(28.52% 0.058 52.3)
XYZxyz(2.7248, 2.2045, 0.6298)
Luminance0.0220 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40210C #0C2B40
analogous
#400C11 #40210C #403B0C
triadic
#40210C #0C4021 #210C40
tetradic
#40210C #11400C #0C2B40 #3B0C40
square
#40210C #11400C #0C2B40 #3B0C40
split-complementary
#40210C #0C403B #0C1140
monochromatic
#1A0D05 #1A0D05 #40210C #743C16 #A7561F

Accessibility & contrast

On white

14.58
#40210C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#40210C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40210C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40210C#FFFFFF#000000##FFFFFF
##40210C1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250A
Deuteranopia (green-blind)
#312C0C
Tritanopia (blue-blind)
#471B1C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40210c;
/* rgb */ color: rgb(64, 33, 12);
/* oklch */ color: oklch(28.5% 0.058 52.3);
Tailwind
colors: {
  custom: {
    50: '#785c4c',
    500: '#40210c',
    950: '#000000',
  },
}
SCSS
$custom: #40210c;
$custom-light: #785c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40210c",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 12
  },
  "hsl": {
    "h": 24.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28516,
    "c": 0.05751,
    "h": 52.3
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#40210C
secondary
#2C5C7C
accent
#A5EB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40210C

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

Preview Lab → · Contrast checker → · Palette generator →

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