#400E26#400E26

#400E26 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.082 H 354.8°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#400E26
RGBrgb(64, 14, 38)
HSLhsl(331, 64%, 15%)
HSVhsv(331, 78%, 25%)
CMYKcmyk(0%, 78.1%, 40.6%, 74.9%)
CIE-LABlab(12.89, 26.55, -2.91)
CIE-LCHlch(12.89, 26.71, 353.75°)
OKLaboklab(25.98% 0.0813 -0.0073)
OKLCHoklch(25.98% 0.082 354.8)
XYZxyz(2.6214, 1.5443, 1.9934)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E26 #0E4028
analogous
#400E3F #400E26 #400F0E
triadic
#400E26 #26400E #0E2640
tetradic
#400E26 #3F400E #0E4028 #0F0E40
square
#400E26 #3F400E #0E4028 #0F0E40
split-complementary
#400E26 #0E400F #0E3F40
monochromatic
#19050F #19050F #400E26 #721944 #A42462

Accessibility & contrast

On white

16.05
#400E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E26
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E26#FFFFFF#000000##FFFFFF
##400E261.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B27
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#460A18
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e26;
/* rgb */ color: rgb(64, 14, 38);
/* oklch */ color: oklch(26.0% 0.082 354.8);
Tailwind
colors: {
  custom: {
    50: '#785160',
    500: '#400e26',
    950: '#000000',
  },
}
SCSS
$custom: #400e26;
$custom-light: #785160;
$custom-dark: #000000;
JSON
{
  "hex": "#400e26",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 331.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25975,
    "c": 0.08161,
    "h": 354.8
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#400E26
secondary
#2F7B56
accent
#E79741
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E26

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

Preview Lab → · Contrast checker → · Palette generator →

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