#40111E#40111E

#40111E is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.074 H 6.9°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#40111E
RGBrgb(64, 17, 30)
HSLhsl(343, 58%, 16%)
HSVhsv(343, 73%, 25%)
CMYKcmyk(0%, 73.4%, 53.1%, 74.9%)
CIE-LABlab(13.14, 24.07, 3.39)
CIE-LCHlch(13.14, 24.31, 8.01°)
OKLaboklab(26.07% 0.0733 0.0089)
OKLCHoklch(26.07% 0.074 6.9)
XYZxyz(2.5493, 1.5849, 1.3997)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40111E #114033
analogous
#401135 #40111E #401B11
triadic
#40111E #1E4011 #111E40
tetradic
#40111E #354011 #114033 #1B1140
square
#40111E #354011 #114033 #1B1140
split-complementary
#40111E #11401B #113540
monochromatic
#18060B #18060B #40111E #701E35 #A12B4B

Accessibility & contrast

On white

15.95
#40111E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#40111E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40111E
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40111E#FFFFFF#000000##FFFFFF
##40111E1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1E
Deuteranopia (green-blind)
#27251D
Tritanopia (blue-blind)
#460A16
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40111e;
/* rgb */ color: rgb(64, 17, 30);
/* oklch */ color: oklch(26.1% 0.074 6.9);
Tailwind
colors: {
  custom: {
    50: '#785259',
    500: '#40111e',
    950: '#000000',
  },
}
SCSS
$custom: #40111e;
$custom-light: #785259;
$custom-dark: #000000;
JSON
{
  "hex": "#40111e",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 30
  },
  "hsl": {
    "h": 343.404,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26068,
    "c": 0.07385,
    "h": 6.9
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#40111E
secondary
#337966
accent
#E1B647
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40111E

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

Preview Lab → · Contrast checker → · Palette generator →

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