#403228#403228

#403228 is a dark, muted orange. Relative luminance 0.035; OKLCH L 33.0% C 0.026 H 57.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#403228
RGBrgb(64, 50, 40)
HSLhsl(25, 23%, 20%)
HSVhsv(25, 38%, 25%)
CMYKcmyk(0%, 21.9%, 37.5%, 74.9%)
CIE-LABlab(22.03, 4.57, 8.76)
CIE-LCHlch(22.03, 9.88, 62.46°)
OKLaboklab(32.96% 0.0144 0.0223)
OKLCHoklch(32.96% 0.026 57.2)
XYZxyz(3.6380, 3.5246, 2.4958)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403228 #283640
analogous
#40282A #403228 #403E28
triadic
#403228 #284032 #322840
tetradic
#403228 #2A4028 #283640 #3E2840
square
#403228 #2A4028 #283640 #3E2840
split-complementary
#403228 #28403E #282A40
monochromatic
#130F0C #1A1510 #403228 #664F40 #8B6D57

Accessibility & contrast

On white

12.32
#403228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#403228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403228
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403228#FFFFFF#000000##FFFFFF
##4032281.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363327
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#442F2F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403228;
/* rgb */ color: rgb(64, 50, 40);
/* oklch */ color: oklch(33.0% 0.026 57.2);
Tailwind
colors: {
  custom: {
    50: '#756961',
    500: '#403228',
    950: '#000000',
  },
}
SCSS
$custom: #403228;
$custom-light: #756961;
$custom-dark: #000000;
JSON
{
  "hex": "#403228",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 25,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32959,
    "c": 0.02649,
    "h": 57.2
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#403228
secondary
#526572
accent
#9BC068
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080605
muted
#7B7A79

Preview Lab

Preview with #403228

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

Preview Lab → · Contrast checker → · Palette generator →

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