#400E2A#400E2A

#400E2A is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.084 H 350.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#400E2A
RGBrgb(64, 14, 42)
HSLhsl(326, 64%, 15%)
HSVhsv(326, 78%, 25%)
CMYKcmyk(0%, 78.1%, 34.4%, 74.9%)
CIE-LABlab(13.06, 27.12, -5.60)
CIE-LCHlch(13.06, 27.69, 348.33°)
OKLaboklab(26.16% 0.0827 -0.0146)
OKLCHoklch(26.16% 0.084 350)
XYZxyz(2.6894, 1.5715, 2.3517)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E2A #0E4024
analogous
#3D0E40 #400E2A #400E11
triadic
#400E2A #2A400E #0E2A40
tetradic
#400E2A #403D0E #0E4024 #0E1140
square
#400E2A #403D0E #0E4024 #0E1140
split-complementary
#400E2A #11400E #0E403D
monochromatic
#190510 #190510 #400E2A #72194B #A4246C

Accessibility & contrast

On white

15.98
#400E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E2A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E2A#FFFFFF#000000##FFFFFF
##400E2A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2B
Deuteranopia (green-blind)
#242529
Tritanopia (blue-blind)
#450B1A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e2a;
/* rgb */ color: rgb(64, 14, 42);
/* oklch */ color: oklch(26.2% 0.084 350.0);
Tailwind
colors: {
  custom: {
    50: '#775163',
    500: '#400e2a',
    950: '#000000',
  },
}
SCSS
$custom: #400e2a;
$custom-light: #775163;
$custom-dark: #000000;
JSON
{
  "hex": "#400e2a",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 326.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26155,
    "c": 0.08393,
    "h": 350
  },
  "luminance": 0.01571
}

Semantic roles & 50–950 ramp

primary
#400E2A
secondary
#2F7B50
accent
#E78A41
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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