#40101D#40101D

#40101D is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.075 H 7.6°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#40101D
RGBrgb(64, 16, 29)
HSLhsl(344, 60%, 16%)
HSVhsv(344, 75%, 25%)
CMYKcmyk(0%, 75%, 54.7%, 74.9%)
CIE-LABlab(12.92, 24.47, 3.82)
CIE-LCHlch(12.92, 24.77, 8.87°)
OKLaboklab(25.9% 0.0745 0.01)
OKLCHoklch(25.9% 0.075 7.6)
XYZxyz(2.5216, 1.5496, 1.3285)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40101D #104033
analogous
#401035 #40101D #401B10
triadic
#40101D #1D4010 #101D40
tetradic
#40101D #354010 #104033 #1B1040
square
#40101D #354010 #104033 #1B1040
split-complementary
#40101D #10401B #103540
monochromatic
#18060B #18060B #40101D #711C33 #A22849

Accessibility & contrast

On white

16.03
#40101D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40101D
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40101D#FFFFFF#000000##FFFFFF
##40101D1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1D
Deuteranopia (green-blind)
#27251C
Tritanopia (blue-blind)
#460915
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #40101d;
/* rgb */ color: rgb(64, 16, 29);
/* oklch */ color: oklch(25.9% 0.075 7.6);
Tailwind
colors: {
  custom: {
    50: '#785258',
    500: '#40101d',
    950: '#000000',
  },
}
SCSS
$custom: #40101d;
$custom-light: #785258;
$custom-dark: #000000;
JSON
{
  "hex": "#40101d",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 29
  },
  "hsl": {
    "h": 343.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25895,
    "c": 0.07514,
    "h": 7.6
  },
  "luminance": 0.01549
}

Semantic roles & 50–950 ramp

primary
#40101D
secondary
#327A66
accent
#E3B845
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40101D

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

Preview Lab → · Contrast checker → · Palette generator →

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