#402E28#402E28

#402E28 is a dark, muted orange. Relative luminance 0.032; OKLCH L 32.0% C 0.029 H 39.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#402E28
RGBrgb(64, 46, 40)
HSLhsl(15, 23%, 20%)
HSVhsv(15, 38%, 25%)
CMYKcmyk(0%, 28.1%, 37.5%, 74.9%)
CIE-LABlab(20.82, 7.24, 7.08)
CIE-LCHlch(20.82, 10.13, 44.36°)
OKLaboklab(32.01% 0.0222 0.0182)
OKLCHoklch(32.01% 0.029 39.2)
XYZxyz(3.4744, 3.1974, 2.4412)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402E28 #283A40
analogous
#40282E #402E28 #403A28
triadic
#402E28 #28402E #2E2840
tetradic
#402E28 #2E4028 #283A40 #3A2840
square
#402E28 #2E4028 #283A40 #3A2840
split-complementary
#402E28 #28403A #282E40
monochromatic
#130E0C #1A1310 #402E28 #664940 #8B6457

Accessibility & contrast

On white

12.81
#402E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#402E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402E28
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402E28#FFFFFF#000000##FFFFFF
##402E281.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323028
Deuteranopia (green-blind)
#363428
Tritanopia (blue-blind)
#442B2C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #402e28;
/* rgb */ color: rgb(64, 46, 40);
/* oklch */ color: oklch(32.0% 0.029 39.2);
Tailwind
colors: {
  custom: {
    50: '#756661',
    500: '#402e28',
    950: '#000000',
  },
}
SCSS
$custom: #402e28;
$custom-light: #756661;
$custom-dark: #000000;
JSON
{
  "hex": "#402e28",
  "rgb": {
    "r": 64,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 15,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32013,
    "c": 0.02871,
    "h": 39.2
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#402E28
secondary
#526A72
accent
#AAC068
background
#F7F6F5
surface
#EDEBE9
border
#C8C6C5
text
#080605
muted
#7B7A79

Preview Lab

Preview with #402E28

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

Preview Lab → · Contrast checker → · Palette generator →

#402E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva