#40061E#40061E

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

Color values

HEX#40061E
RGBrgb(64, 6, 30)
HSLhsl(335, 83%, 14%)
HSVhsv(335, 91%, 25%)
CMYKcmyk(0%, 90.6%, 53.1%, 74.9%)
CIE-LABlab(11.38, 28.98, 0.86)
CIE-LCHlch(11.38, 28.99, 1.69°)
OKLaboklab(24.77% 0.089 0.0025)
OKLCHoklch(24.77% 0.089 1.6)
XYZxyz(2.4140, 1.3143, 1.3546)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40061E #064028
analogous
#40063B #40061E #400B06
triadic
#40061E #1E4006 #061E40
tetradic
#40061E #3B4006 #064028 #0B0640
square
#40061E #3B4006 #064028 #0B0640
split-complementary
#40061E #06400B #063B40
monochromatic
#1C030D #1C030D #40061E #780B38 #B01052

Accessibility & contrast

On white

16.63
#40061E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40061E
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40061E#FFFFFF#000000##FFFFFF
##40061E1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171F
Deuteranopia (green-blind)
#24221D
Tritanopia (blue-blind)
#460011
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #40061e;
/* rgb */ color: rgb(64, 6, 30);
/* oklch */ color: oklch(24.8% 0.089 1.6);
Tailwind
colors: {
  custom: {
    50: '#794d59',
    500: '#40061e',
    950: '#000000',
  },
}
SCSS
$custom: #40061e;
$custom-light: #794d59;
$custom-dark: #000000;
JSON
{
  "hex": "#40061e",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 30
  },
  "hsl": {
    "h": 335.172,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24766,
    "c": 0.08904,
    "h": 1.6
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#40061E
secondary
#228059
accent
#F9A52F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #40061E

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

Preview Lab → · Contrast checker → · Palette generator →

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