#400E2E#400E2E

#400E2E is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.087 H 345.4°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#400E2E
RGBrgb(64, 14, 46)
HSLhsl(322, 64%, 15%)
HSVhsv(322, 78%, 25%)
CMYKcmyk(0%, 78.1%, 28.1%, 74.9%)
CIE-LABlab(13.24, 27.73, -8.25)
CIE-LCHlch(13.24, 28.94, 343.43°)
OKLaboklab(26.35% 0.0838 -0.0219)
OKLCHoklch(26.35% 0.087 345.4)
XYZxyz(2.7646, 1.6016, 2.7478)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E2E #0E4020
analogous
#390E40 #400E2E #400E15
triadic
#400E2E #2E400E #0E2E40
tetradic
#400E2E #40390E #0E4020 #0E1540
square
#400E2E #40390E #0E4020 #0E1540
split-complementary
#400E2E #15400E #0E4039
monochromatic
#190512 #190512 #400E2E #721952 #A42476

Accessibility & contrast

On white

15.91
#400E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E2E
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E2E#FFFFFF#000000##FFFFFF
##400E2E1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141D2F
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#450D1C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e2e;
/* rgb */ color: rgb(64, 14, 46);
/* oklch */ color: oklch(26.4% 0.087 345.4);
Tailwind
colors: {
  custom: {
    50: '#775166',
    500: '#400e2e',
    950: '#000000',
  },
}
SCSS
$custom: #400e2e;
$custom-light: #775166;
$custom-dark: #000000;
JSON
{
  "hex": "#400e2e",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 321.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2635,
    "c": 0.08662,
    "h": 345.4
  },
  "luminance": 0.01601
}

Semantic roles & 50–950 ramp

primary
#400E2E
secondary
#2F7B4A
accent
#E77D41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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