#402628#402628

#402628 is a dark, muted red. Relative luminance 0.026; OKLCH L 30.2% C 0.040 H 14.7°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#402628
RGBrgb(64, 38, 40)
HSLhsl(355, 25%, 20%)
HSVhsv(355, 41%, 25%)
CMYKcmyk(0%, 40.6%, 37.5%, 74.9%)
CIE-LABlab(18.49, 12.61, 3.82)
CIE-LCHlch(18.49, 13.17, 16.84°)
OKLaboklab(30.22% 0.0383 0.01)
OKLCHoklch(30.22% 0.04 14.7)
XYZxyz(3.1906, 2.6296, 2.3466)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402628 #26403E
analogous
#402635 #402628 #403126
triadic
#402628 #284026 #262840
tetradic
#402628 #354026 #26403E #312640
square
#402628 #354026 #26403E #312640
split-complementary
#402628 #264031 #263540
monochromatic
#130B0C #1A0F10 #402628 #663D40 #8D5458

Accessibility & contrast

On white

13.76
#402628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#402628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402628
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402628#FFFFFF#000000##FFFFFF
##4026281.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A28
Deuteranopia (green-blind)
#312F28
Tritanopia (blue-blind)
#452327
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #402628;
/* rgb */ color: rgb(64, 38, 40);
/* oklch */ color: oklch(30.2% 0.040 14.7);
Tailwind
colors: {
  custom: {
    50: '#766061',
    500: '#402628',
    950: '#000000',
  },
}
SCSS
$custom: #402628;
$custom-light: #766061;
$custom-dark: #000000;
JSON
{
  "hex": "#402628",
  "rgb": {
    "r": 64,
    "g": 38,
    "b": 40
  },
  "hsl": {
    "h": 355.385,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.3022,
    "c": 0.03954,
    "h": 14.7
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#402628
secondary
#507270
accent
#C2BB66
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#080505
muted
#7B7979

Preview Lab

Preview with #402628

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

Preview Lab → · Contrast checker → · Palette generator →

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