#40302E#40302E

#40302E is a dark, muted red. Relative luminance 0.034; OKLCH L 32.7% C 0.024 H 26.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#40302E
RGBrgb(64, 48, 46)
HSLhsl(7, 16%, 22%)
HSVhsv(7, 28%, 25%)
CMYKcmyk(0%, 25%, 28.1%, 74.9%)
CIE-LABlab(21.58, 6.91, 4.08)
CIE-LCHlch(21.58, 8.02, 30.53°)
OKLaboklab(32.66% 0.0213 0.0107)
OKLCHoklch(32.66% 0.024 26.6)
XYZxyz(3.6645, 3.4013, 3.0477)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40302E #2E3E40
analogous
#402E35 #40302E #40392E
triadic
#40302E #2E4030 #302E40
tetradic
#40302E #35402E #2E3E40 #392E40
square
#40302E #35402E #2E3E40 #392E40
split-complementary
#40302E #2E4039 #2E3540
monochromatic
#120D0D #1C1514 #40302E #644B48 #876561

Accessibility & contrast

On white

12.50
#40302E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#40302E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40302E
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40302E#FFFFFF#000000##FFFFFF
##40302E1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#442E2F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #40302e;
/* rgb */ color: rgb(64, 48, 46);
/* oklch */ color: oklch(32.7% 0.024 26.6);
Tailwind
colors: {
  custom: {
    50: '#756866',
    500: '#40302e',
    950: '#000000',
  },
}
SCSS
$custom: #40302e;
$custom-light: #756866;
$custom-dark: #000000;
JSON
{
  "hex": "#40302e",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 46
  },
  "hsl": {
    "h": 6.667,
    "s": 16.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32662,
    "c": 0.02378,
    "h": 26.6
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#40302E
secondary
#596E70
accent
#B1B96F
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080606
muted
#7B7A7A

Preview Lab

Preview with #40302E

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

Preview Lab → · Contrast checker → · Palette generator →

#40302E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva