#40091D#40091D

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

Color values

HEX#40091D
RGBrgb(64, 9, 29)
HSLhsl(338, 75%, 14%)
HSVhsv(338, 86%, 25%)
CMYKcmyk(0%, 85.9%, 54.7%, 74.9%)
CIE-LABlab(11.79, 27.61, 2.20)
CIE-LCHlch(11.79, 27.70, 4.56°)
OKLaboklab(25.06% 0.0845 0.0059)
OKLCHoklch(25.06% 0.085 4)
XYZxyz(2.4340, 1.3744, 1.2993)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40091D #09402C
analogous
#400939 #40091D #401109
triadic
#40091D #1D4009 #091D40
tetradic
#40091D #394009 #09402C #110940
square
#40091D #394009 #09402C #110940
split-complementary
#40091D #094011 #093940
monochromatic
#1B040C #1B040C #40091D #761135 #AB184E

Accessibility & contrast

On white

16.47
#40091D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40091D
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40091D#FFFFFF#000000##FFFFFF
##40091D1.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181D
Deuteranopia (green-blind)
#25231C
Tritanopia (blue-blind)
#460112
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #40091d;
/* rgb */ color: rgb(64, 9, 29);
/* oklch */ color: oklch(25.1% 0.085 4.0);
Tailwind
colors: {
  custom: {
    50: '#794e58',
    500: '#40091d',
    950: '#000000',
  },
}
SCSS
$custom: #40091d;
$custom-light: #794e58;
$custom-dark: #000000;
JSON
{
  "hex": "#40091d",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 29
  },
  "hsl": {
    "h": 338.182,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25056,
    "c": 0.08473,
    "h": 4
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#40091D
secondary
#277E5E
accent
#F2AE36
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40091D

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

Preview Lab → · Contrast checker → · Palette generator →

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