#40232A#40232A

#40232A is a dark, muted red. Relative luminance 0.025; OKLCH L 29.7% C 0.045 H 4.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#40232A
RGBrgb(64, 35, 42)
HSLhsl(346, 29%, 19%)
HSVhsv(346, 45%, 25%)
CMYKcmyk(0%, 45.3%, 34.4%, 74.9%)
CIE-LABlab(17.73, 14.92, 1.32)
CIE-LCHlch(17.73, 14.97, 5.06°)
OKLaboklab(29.66% 0.0452 0.0036)
OKLCHoklch(29.66% 0.045 4.6)
XYZxyz(3.1334, 2.4595, 2.4997)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40232A #234039
analogous
#402339 #40232A #402B23
triadic
#40232A #2A4023 #232A40
tetradic
#40232A #394023 #234039 #2B2340
square
#40232A #394023 #234039 #2B2340
split-complementary
#40232A #23402B #233940
monochromatic
#140B0D #180D10 #40232A #683944 #8F4E5E

Accessibility & contrast

On white

14.08
#40232A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#40232A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40232A
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40232A#FFFFFF#000000##FFFFFF
##40232A1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28282A
Deuteranopia (green-blind)
#2F2D29
Tritanopia (blue-blind)
#452125
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #40232a;
/* rgb */ color: rgb(64, 35, 42);
/* oklch */ color: oklch(29.7% 0.045 4.6);
Tailwind
colors: {
  custom: {
    50: '#765e63',
    500: '#40232a',
    950: '#000000',
  },
}
SCSS
$custom: #40232a;
$custom-light: #765e63;
$custom-dark: #000000;
JSON
{
  "hex": "#40232a",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 42
  },
  "hsl": {
    "h": 345.517,
    "s": 29.293,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29659,
    "c": 0.04533,
    "h": 4.6
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#40232A
secondary
#4C736A
accent
#C6AE62
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#080405
muted
#7B7979

Preview Lab

Preview with #40232A

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

Preview Lab → · Contrast checker → · Palette generator →

#40232A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva