#400E1B#400E1B

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

Color values

HEX#400E1B
RGBrgb(64, 14, 27)
HSLhsl(344, 64%, 15%)
HSVhsv(344, 78%, 25%)
CMYKcmyk(0%, 78.1%, 57.8%, 74.9%)
CIE-LABlab(12.50, 25.23, 4.72)
CIE-LCHlch(12.50, 25.67, 10.60°)
OKLaboklab(25.57% 0.0767 0.0121)
OKLCHoklch(25.57% 0.078 9)
XYZxyz(2.4694, 1.4835, 1.1930)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E1B #0E4033
analogous
#400E34 #400E1B #401A0E
triadic
#400E1B #1B400E #0E1B40
tetradic
#400E1B #34400E #0E4033 #1A0E40
square
#400E1B #34400E #0E4033 #1A0E40
split-complementary
#400E1B #0E401A #0E3440
monochromatic
#19050B #19050B #400E1B #721930 #A42445

Accessibility & contrast

On white

16.20
#400E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E1B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E1B#FFFFFF#000000##FFFFFF
##400E1B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1A1B
Deuteranopia (green-blind)
#27241A
Tritanopia (blue-blind)
#460613
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e1b;
/* rgb */ color: rgb(64, 14, 27);
/* oklch */ color: oklch(25.6% 0.078 9.0);
Tailwind
colors: {
  custom: {
    50: '#785157',
    500: '#400e1b',
    950: '#000000',
  },
}
SCSS
$custom: #400e1b;
$custom-light: #785157;
$custom-dark: #000000;
JSON
{
  "hex": "#400e1b",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 27
  },
  "hsl": {
    "h": 344.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25566,
    "c": 0.07763,
    "h": 9
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#400E1B
secondary
#2F7B67
accent
#E7BC41
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090203
muted
#7B7878

Preview Lab

Preview with #400E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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