#40090B#40090B

#40090B is a very dark, moderate red. Relative luminance 0.013; OKLCH L 24.6% C 0.084 H 24.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#40090B
RGBrgb(64, 9, 11)
HSLhsl(358, 75%, 14%)
HSVhsv(358, 86%, 25%)
CMYKcmyk(0%, 85.9%, 82.8%, 74.9%)
CIE-LABlab(11.34, 26.18, 13.13)
CIE-LCHlch(11.34, 29.29, 26.63°)
OKLaboklab(24.59% 0.0762 0.0342)
OKLCHoklch(24.59% 0.084 24.1)
XYZxyz(2.2727, 1.3099, 0.4497)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40090B #09403E
analogous
#400927 #40090B #402309
triadic
#40090B #0B4009 #090B40
tetradic
#40090B #274009 #09403E #230940
square
#40090B #274009 #09403E #230940
split-complementary
#40090B #094023 #092740
monochromatic
#1B0405 #1B0405 #40090B #761114 #AB181D

Accessibility & contrast

On white

16.64
#40090B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#40090B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40090B
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40090B#FFFFFF#000000##FFFFFF
##40090B1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19170B
Deuteranopia (green-blind)
#272209
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40090b;
/* rgb */ color: rgb(64, 9, 11);
/* oklch */ color: oklch(24.6% 0.084 24.1);
Tailwind
colors: {
  custom: {
    50: '#7a4e4b',
    500: '#40090b',
    950: '#000000',
  },
}
SCSS
$custom: #40090b;
$custom-light: #7a4e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#40090b",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 11
  },
  "hsl": {
    "h": 357.818,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24586,
    "c": 0.08353,
    "h": 24.1
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#40090B
secondary
#277E7B
accent
#F2EB36
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0201
muted
#7C7877

Preview Lab

Preview with #40090B

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

Preview Lab → · Contrast checker → · Palette generator →

#40090B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva