#402213#402213

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

Color values

HEX#402213
RGBrgb(64, 34, 19)
HSLhsl(20, 54%, 16%)
HSVhsv(20, 70%, 25%)
CMYKcmyk(0%, 46.9%, 70.3%, 74.9%)
CIE-LABlab(16.90, 12.69, 16.14)
CIE-LCHlch(16.90, 20.53, 51.82°)
OKLaboklab(28.84% 0.0361 0.0381)
OKLCHoklch(28.84% 0.052 46.5)
XYZxyz(2.8041, 2.2813, 0.9086)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402213 #133140
analogous
#40131B #402213 #403913
triadic
#402213 #134022 #221340
tetradic
#402213 #1B4013 #133140 #391340
square
#402213 #1B4013 #133140 #391340
split-complementary
#402213 #134039 #131B40
monochromatic
#180D07 #180D07 #402213 #6F3B21 #9E542F

Accessibility & contrast

On white

14.42
#402213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402213
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402213#FFFFFF#000000##FFFFFF
##4022131.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2612
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#461C1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #402213;
/* rgb */ color: rgb(64, 34, 19);
/* oklch */ color: oklch(28.8% 0.052 46.5);
Tailwind
colors: {
  custom: {
    50: '#785d51',
    500: '#402213',
    950: '#000000',
  },
}
SCSS
$custom: #402213;
$custom-light: #785d51;
$custom-dark: #000000;
JSON
{
  "hex": "#402213",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 19
  },
  "hsl": {
    "h": 20,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.28836,
    "c": 0.05249,
    "h": 46.5
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#402213
secondary
#366279
accent
#ACDE4A
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090402
muted
#7B7978

Preview Lab

Preview with #402213

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

Preview Lab → · Contrast checker → · Palette generator →

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