#40091F#40091F

#40091F is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.085 H 1.6°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#40091F
RGBrgb(64, 9, 31)
HSLhsl(336, 75%, 14%)
HSVhsv(336, 86%, 25%)
CMYKcmyk(0%, 85.9%, 51.6%, 74.9%)
CIE-LABlab(11.85, 27.83, 0.80)
CIE-LCHlch(11.85, 27.84, 1.64°)
OKLaboklab(25.13% 0.0854 0.0024)
OKLCHoklch(25.13% 0.085 1.6)
XYZxyz(2.4596, 1.3846, 1.4338)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40091F #09402A
analogous
#40093B #40091F #400F09
triadic
#40091F #1F4009 #091F40
tetradic
#40091F #3B4009 #09402A #0F0940
square
#40091F #3B4009 #09402A #0F0940
split-complementary
#40091F #09400F #093B40
monochromatic
#1B040D #1B040D #40091F #761139 #AB1853

Accessibility & contrast

On white

16.45
#40091F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#40091F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40091F
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40091F#FFFFFF#000000##FFFFFF
##40091F1.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161820
Deuteranopia (green-blind)
#24231E
Tritanopia (blue-blind)
#460213
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #40091f;
/* rgb */ color: rgb(64, 9, 31);
/* oklch */ color: oklch(25.1% 0.085 1.6);
Tailwind
colors: {
  custom: {
    50: '#784e5a',
    500: '#40091f',
    950: '#000000',
  },
}
SCSS
$custom: #40091f;
$custom-light: #784e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#40091f",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 31
  },
  "hsl": {
    "h": 336,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25129,
    "c": 0.0854,
    "h": 1.6
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#40091F
secondary
#277E5B
accent
#F2A736
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40091F

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

Preview Lab → · Contrast checker → · Palette generator →

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