#400E1E#400E1E

#400E1E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.078 H 5.1°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#400E1E
RGBrgb(64, 14, 30)
HSLhsl(341, 64%, 15%)
HSVhsv(341, 78%, 25%)
CMYKcmyk(0%, 78.1%, 53.1%, 74.9%)
CIE-LABlab(12.60, 25.56, 2.61)
CIE-LCHlch(12.60, 25.69, 5.84°)
OKLaboklab(25.67% 0.078 0.007)
OKLCHoklch(25.67% 0.078 5.1)
XYZxyz(2.5059, 1.4981, 1.3852)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E1E #0E4030
analogous
#400E37 #400E1E #40170E
triadic
#400E1E #1E400E #0E1E40
tetradic
#400E1E #37400E #0E4030 #170E40
square
#400E1E #37400E #0E4030 #170E40
split-complementary
#400E1E #0E4017 #0E3740
monochromatic
#19050C #19050C #400E1E #721936 #A4244D

Accessibility & contrast

On white

16.16
#400E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E1E
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E1E#FFFFFF#000000##FFFFFF
##400E1E1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1E
Deuteranopia (green-blind)
#26241D
Tritanopia (blue-blind)
#460714
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e1e;
/* rgb */ color: rgb(64, 14, 30);
/* oklch */ color: oklch(25.7% 0.078 5.1);
Tailwind
colors: {
  custom: {
    50: '#785159',
    500: '#400e1e',
    950: '#000000',
  },
}
SCSS
$custom: #400e1e;
$custom-light: #785159;
$custom-dark: #000000;
JSON
{
  "hex": "#400e1e",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 30
  },
  "hsl": {
    "h": 340.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25665,
    "c": 0.07834,
    "h": 5.1
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#400E1E
secondary
#2F7B63
accent
#E7B241
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #400E1E

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

Preview Lab → · Contrast checker → · Palette generator →

#400E1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva