#40061D#40061D

#40061D is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.7% C 0.089 H 2.8°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#40061D
RGBrgb(64, 6, 29)
HSLhsl(336, 83%, 14%)
HSVhsv(336, 91%, 25%)
CMYKcmyk(0%, 90.6%, 54.7%, 74.9%)
CIE-LABlab(11.34, 28.87, 1.56)
CIE-LCHlch(11.34, 28.91, 3.10°)
OKLaboklab(24.73% 0.0886 0.0043)
OKLCHoklch(24.73% 0.089 2.8)
XYZxyz(2.4015, 1.3093, 1.2884)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40061D #064029
analogous
#40063A #40061D #400C06
triadic
#40061D #1D4006 #061D40
tetradic
#40061D #3A4006 #064029 #0C0640
square
#40061D #3A4006 #064029 #0C0640
split-complementary
#40061D #06400C #063A40
monochromatic
#1C030D #1C030D #40061D #780B36 #B01050

Accessibility & contrast

On white

16.64
#40061D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#40061D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40061D
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40061D#FFFFFF#000000##FFFFFF
##40061D1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171E
Deuteranopia (green-blind)
#24221C
Tritanopia (blue-blind)
#460010
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40061d;
/* rgb */ color: rgb(64, 6, 29);
/* oklch */ color: oklch(24.7% 0.089 2.8);
Tailwind
colors: {
  custom: {
    50: '#794d58',
    500: '#40061d',
    950: '#000000',
  },
}
SCSS
$custom: #40061d;
$custom-light: #794d58;
$custom-dark: #000000;
JSON
{
  "hex": "#40061d",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 29
  },
  "hsl": {
    "h": 336.207,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.08869,
    "h": 2.8
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#40061D
secondary
#22805B
accent
#F9A92F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090103
muted
#7B7778

Preview Lab

Preview with #40061D

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

Preview Lab → · Contrast checker → · Palette generator →

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