#400E1D#400E1D

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

Color values

HEX#400E1D
RGBrgb(64, 14, 29)
HSLhsl(342, 64%, 15%)
HSVhsv(342, 78%, 25%)
CMYKcmyk(0%, 78.1%, 54.7%, 74.9%)
CIE-LABlab(12.56, 25.45, 3.31)
CIE-LCHlch(12.56, 25.66, 7.42°)
OKLaboklab(25.63% 0.0776 0.0087)
OKLCHoklch(25.63% 0.078 6.4)
XYZxyz(2.4934, 1.4931, 1.3191)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E1D #0E4031
analogous
#400E36 #400E1D #40180E
triadic
#400E1D #1D400E #0E1D40
tetradic
#400E1D #36400E #0E4031 #180E40
square
#400E1D #36400E #0E4031 #180E40
split-complementary
#400E1D #0E4018 #0E3640
monochromatic
#19050B #19050B #400E1D #721934 #A4244B

Accessibility & contrast

On white

16.17
#400E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E1D
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E1D#FFFFFF#000000##FFFFFF
##400E1D1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191A1D
Deuteranopia (green-blind)
#26241C
Tritanopia (blue-blind)
#460614
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e1d;
/* rgb */ color: rgb(64, 14, 29);
/* oklch */ color: oklch(25.6% 0.078 6.4);
Tailwind
colors: {
  custom: {
    50: '#785158',
    500: '#400e1d',
    950: '#000000',
  },
}
SCSS
$custom: #400e1d;
$custom-light: #785158;
$custom-dark: #000000;
JSON
{
  "hex": "#400e1d",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 29
  },
  "hsl": {
    "h": 342,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25631,
    "c": 0.07807,
    "h": 6.4
  },
  "luminance": 0.01493
}

Semantic roles & 50–950 ramp

primary
#400E1D
secondary
#2F7B64
accent
#E7B541
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #400E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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