#40111D#40111D

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

Color values

HEX#40111D
RGBrgb(64, 17, 29)
HSLhsl(345, 58%, 16%)
HSVhsv(345, 73%, 25%)
CMYKcmyk(0%, 73.4%, 54.7%, 74.9%)
CIE-LABlab(13.11, 23.96, 4.08)
CIE-LCHlch(13.11, 24.31, 9.67°)
OKLaboklab(26.04% 0.0729 0.0106)
OKLCHoklch(26.04% 0.074 8.3)
XYZxyz(2.5368, 1.5799, 1.3335)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40111D #114034
analogous
#401134 #40111D #401C11
triadic
#40111D #1D4011 #111D40
tetradic
#40111D #344011 #114034 #1C1140
square
#40111D #344011 #114034 #1C1140
split-complementary
#40111D #11401C #113440
monochromatic
#18060B #18060B #40111D #701E33 #A12B49

Accessibility & contrast

On white

15.96
#40111D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40111D
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40111D#FFFFFF#000000##FFFFFF
##40111D1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1D
Deuteranopia (green-blind)
#28251C
Tritanopia (blue-blind)
#460A16
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #40111d;
/* rgb */ color: rgb(64, 17, 29);
/* oklch */ color: oklch(26.0% 0.074 8.3);
Tailwind
colors: {
  custom: {
    50: '#785258',
    500: '#40111d',
    950: '#000000',
  },
}
SCSS
$custom: #40111d;
$custom-light: #785258;
$custom-dark: #000000;
JSON
{
  "hex": "#40111d",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 29
  },
  "hsl": {
    "h": 344.681,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26035,
    "c": 0.07363,
    "h": 8.3
  },
  "luminance": 0.0158
}

Semantic roles & 50–950 ramp

primary
#40111D
secondary
#337968
accent
#E1BA47
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40111D

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

Preview Lab → · Contrast checker → · Palette generator →

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