#40091A#40091A

#40091A is a very dark, moderate pink. Relative luminance 0.014; OKLCH L 25.0% C 0.084 H 7.6°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#40091A
RGBrgb(64, 9, 26)
HSLhsl(341, 75%, 14%)
HSVhsv(341, 86%, 25%)
CMYKcmyk(0%, 85.9%, 59.4%, 74.9%)
CIE-LABlab(11.69, 27.30, 4.33)
CIE-LCHlch(11.69, 27.65, 9.02°)
OKLaboklab(24.96% 0.0832 0.0112)
OKLCHoklch(24.96% 0.084 7.6)
XYZxyz(2.3987, 1.3603, 1.1133)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40091A #09402F
analogous
#400936 #40091A #401409
triadic
#40091A #1A4009 #091A40
tetradic
#40091A #364009 #09402F #140940
square
#40091A #364009 #09402F #140940
split-complementary
#40091A #094014 #093640
monochromatic
#1B040B #1B040B #40091A #761130 #AB1846

Accessibility & contrast

On white

16.51
#40091A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#40091A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40091A
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40091A#FFFFFF#000000##FFFFFF
##40091A1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181A
Deuteranopia (green-blind)
#252319
Tritanopia (blue-blind)
#470010
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #40091a;
/* rgb */ color: rgb(64, 9, 26);
/* oklch */ color: oklch(25.0% 0.084 7.6);
Tailwind
colors: {
  custom: {
    50: '#794e56',
    500: '#40091a',
    950: '#000000',
  },
}
SCSS
$custom: #40091a;
$custom-light: #794e56;
$custom-dark: #000000;
JSON
{
  "hex": "#40091a",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 26
  },
  "hsl": {
    "h": 341.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24955,
    "c": 0.08394,
    "h": 7.6
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#40091A
secondary
#277E63
accent
#F2B836
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #40091A

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

Preview Lab → · Contrast checker → · Palette generator →

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