#40101F#40101F

#40101F is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.0% C 0.076 H 4.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#40101F
RGBrgb(64, 16, 31)
HSLhsl(341, 60%, 16%)
HSVhsv(341, 75%, 25%)
CMYKcmyk(0%, 75%, 51.6%, 74.9%)
CIE-LABlab(12.98, 24.70, 2.42)
CIE-LCHlch(12.98, 24.82, 5.61°)
OKLaboklab(25.96% 0.0754 0.0065)
OKLCHoklch(25.96% 0.076 4.9)
XYZxyz(2.5472, 1.5598, 1.4630)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40101F #104031
analogous
#401037 #40101F #401910
triadic
#40101F #1F4010 #101F40
tetradic
#40101F #374010 #104031 #191040
square
#40101F #374010 #104031 #191040
split-complementary
#40101F #104019 #103740
monochromatic
#18060C #18060C #40101F #711C37 #A2284E

Accessibility & contrast

On white

16.01
#40101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#40101F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40101F
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40101F#FFFFFF#000000##FFFFFF
##40101F1.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C1F
Deuteranopia (green-blind)
#27251E
Tritanopia (blue-blind)
#460916
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40101f;
/* rgb */ color: rgb(64, 16, 31);
/* oklch */ color: oklch(26.0% 0.076 4.9);
Tailwind
colors: {
  custom: {
    50: '#78525a',
    500: '#40101f',
    950: '#000000',
  },
}
SCSS
$custom: #40101f;
$custom-light: #78525a;
$custom-dark: #000000;
JSON
{
  "hex": "#40101f",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 341.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25963,
    "c": 0.07566,
    "h": 4.9
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#40101F
secondary
#327A63
accent
#E3B245
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40101F

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

Preview Lab → · Contrast checker → · Palette generator →

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