#40091E#40091E

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

Color values

HEX#40091E
RGBrgb(64, 9, 30)
HSLhsl(337, 75%, 14%)
HSVhsv(337, 86%, 25%)
CMYKcmyk(0%, 85.9%, 53.1%, 74.9%)
CIE-LABlab(11.82, 27.72, 1.50)
CIE-LCHlch(11.82, 27.76, 3.09°)
OKLaboklab(25.09% 0.085 0.0041)
OKLCHoklch(25.09% 0.085 2.8)
XYZxyz(2.4466, 1.3794, 1.3655)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40091E #09402B
analogous
#40093A #40091E #401009
triadic
#40091E #1E4009 #091E40
tetradic
#40091E #3A4009 #09402B #100940
square
#40091E #3A4009 #09402B #100940
split-complementary
#40091E #094010 #093A40
monochromatic
#1B040D #1B040D #40091E #761137 #AB1850

Accessibility & contrast

On white

16.46
#40091E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40091E
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40091E#FFFFFF#000000##FFFFFF
##40091E1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40091e;
/* rgb */ color: rgb(64, 9, 30);
/* oklch */ color: oklch(25.1% 0.085 2.8);
Tailwind
colors: {
  custom: {
    50: '#784e59',
    500: '#40091e',
    950: '#000000',
  },
}
SCSS
$custom: #40091e;
$custom-light: #784e59;
$custom-dark: #000000;
JSON
{
  "hex": "#40091e",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 30
  },
  "hsl": {
    "h": 337.091,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25092,
    "c": 0.08505,
    "h": 2.8
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#40091E
secondary
#277E5D
accent
#F2AA36
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40091E

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

Preview Lab → · Contrast checker → · Palette generator →

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