#40091B#40091B

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

Color values

HEX#40091B
RGBrgb(64, 9, 27)
HSLhsl(340, 75%, 14%)
HSVhsv(340, 86%, 25%)
CMYKcmyk(0%, 85.9%, 57.8%, 74.9%)
CIE-LABlab(11.72, 27.40, 3.62)
CIE-LCHlch(11.72, 27.64, 7.53°)
OKLaboklab(24.99% 0.0836 0.0094)
OKLCHoklch(24.99% 0.084 6.4)
XYZxyz(2.4101, 1.3648, 1.1732)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40091B #09402E
analogous
#400937 #40091B #401309
triadic
#40091B #1B4009 #091B40
tetradic
#40091B #374009 #09402E #130940
square
#40091B #374009 #09402E #130940
split-complementary
#40091B #094013 #093740
monochromatic
#1B040B #1B040B #40091B #761132 #AB1848

Accessibility & contrast

On white

16.50
#40091B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40091B
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40091B#FFFFFF#000000##FFFFFF
##40091B1.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181B
Deuteranopia (green-blind)
#25231A
Tritanopia (blue-blind)
#470011
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #40091b;
/* rgb */ color: rgb(64, 9, 27);
/* oklch */ color: oklch(25.0% 0.084 6.4);
Tailwind
colors: {
  custom: {
    50: '#794e56',
    500: '#40091b',
    950: '#000000',
  },
}
SCSS
$custom: #40091b;
$custom-light: #794e56;
$custom-dark: #000000;
JSON
{
  "hex": "#40091b",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 27
  },
  "hsl": {
    "h": 340.364,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24987,
    "c": 0.08417,
    "h": 6.4
  },
  "luminance": 0.01364
}

Semantic roles & 50–950 ramp

primary
#40091B
secondary
#277E61
accent
#F2B436
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40091B

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

Preview Lab → · Contrast checker → · Palette generator →

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