#400E2B#400E2B

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

Color values

HEX#400E2B
RGBrgb(64, 14, 43)
HSLhsl(325, 64%, 15%)
HSVhsv(325, 78%, 25%)
CMYKcmyk(0%, 78.1%, 32.8%, 74.9%)
CIE-LABlab(13.10, 27.27, -6.27)
CIE-LCHlch(13.10, 27.98, 347.06°)
OKLaboklab(26.2% 0.083 -0.0164)
OKLCHoklch(26.2% 0.085 348.8)
XYZxyz(2.7076, 1.5788, 2.4472)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E2B #0E4023
analogous
#3C0E40 #400E2B #400E12
triadic
#400E2B #2B400E #0E2B40
tetradic
#400E2B #403C0E #0E4023 #0E1240
square
#400E2B #403C0E #0E4023 #0E1240
split-complementary
#400E2B #12400E #0E403C
monochromatic
#190511 #190511 #400E2B #72194D #A4246E

Accessibility & contrast

On white

15.96
#400E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E2B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E2B#FFFFFF#000000##FFFFFF
##400E2B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151C2C
Deuteranopia (green-blind)
#23252A
Tritanopia (blue-blind)
#450C1A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e2b;
/* rgb */ color: rgb(64, 14, 43);
/* oklch */ color: oklch(26.2% 0.085 348.8);
Tailwind
colors: {
  custom: {
    50: '#775164',
    500: '#400e2b',
    950: '#000000',
  },
}
SCSS
$custom: #400e2b;
$custom-light: #775164;
$custom-dark: #000000;
JSON
{
  "hex": "#400e2b",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 325.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26202,
    "c": 0.08457,
    "h": 348.8
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#400E2B
secondary
#2F7B4F
accent
#E78741
background
#F7F4F5
surface
#EDE7EA
border
#C8C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #400E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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