#400726#400726

#400726 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.091 H 352.8°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#400726
RGBrgb(64, 7, 38)
HSLhsl(327, 80%, 14%)
HSVhsv(327, 89%, 25%)
CMYKcmyk(0%, 89.1%, 40.6%, 74.9%)
CIE-LABlab(11.84, 29.50, -4.48)
CIE-LCHlch(11.84, 29.84, 351.37°)
OKLaboklab(25.21% 0.0906 -0.0115)
OKLCHoklch(25.21% 0.091 352.8)
XYZxyz(2.5403, 1.3822, 1.9664)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400726 #074021
analogous
#3E0740 #400726 #40070A
triadic
#400726 #264007 #072640
tetradic
#400726 #403E07 #074021 #070A40
square
#400726 #403E07 #074021 #070A40
split-complementary
#400726 #0A4007 #07403E
monochromatic
#1C0310 #1C0310 #400726 #770D47 #AE1368

Accessibility & contrast

On white

16.45
#400726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400726
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400726#FFFFFF#000000##FFFFFF
##4007261.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121927
Deuteranopia (green-blind)
#222325
Tritanopia (blue-blind)
#460315
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400726;
/* rgb */ color: rgb(64, 7, 38);
/* oklch */ color: oklch(25.2% 0.091 352.8);
Tailwind
colors: {
  custom: {
    50: '#784e60',
    500: '#400726',
    950: '#000000',
  },
}
SCSS
$custom: #400726;
$custom-light: #784e60;
$custom-dark: #000000;
JSON
{
  "hex": "#400726",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 327.368,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25207,
    "c": 0.09133,
    "h": 352.8
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#400726
secondary
#247F4D
accent
#F78B31
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400726

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

Preview Lab → · Contrast checker → · Palette generator →

#400726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva