#400A37#400A37

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

Color values

HEX#400A37
RGBrgb(64, 10, 55)
HSLhsl(310, 73%, 15%)
HSVhsv(310, 84%, 25%)
CMYKcmyk(0%, 84.4%, 14.1%, 74.9%)
CIE-LABlab(13.13, 30.91, -14.94)
CIE-LCHlch(13.13, 34.34, 334.20°)
OKLaboklab(26.42% 0.0906 -0.0408)
OKLCHoklch(26.42% 0.099 335.8)
XYZxyz(2.9125, 1.5832, 3.7659)
Luminance0.0158 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A37 #0A4013
analogous
#2E0A40 #400A37 #400A1C
triadic
#400A37 #37400A #0A3740
tetradic
#400A37 #402E0A #0A4013 #0A1C40
square
#400A37 #402E0A #0A4013 #0A1C40
split-complementary
#400A37 #1C400A #0A402E
monochromatic
#1A0417 #1A0417 #400A37 #751264 #AA1B92

Accessibility & contrast

On white

15.95
#400A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A37
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A37#FFFFFF#000000##FFFFFF
##400A371.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1D38
Deuteranopia (green-blind)
#1E2536
Tritanopia (blue-blind)
#440E1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400a37;
/* rgb */ color: rgb(64, 10, 55);
/* oklch */ color: oklch(26.4% 0.099 335.8);
Tailwind
colors: {
  custom: {
    50: '#77506e',
    500: '#400a37',
    950: '#000000',
  },
}
SCSS
$custom: #400a37;
$custom-light: #77506e;
$custom-dark: #000000;
JSON
{
  "hex": "#400a37",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 310,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26425,
    "c": 0.09931,
    "h": 335.8
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#400A37
secondary
#297D37
accent
#F05738
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400A37

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

Preview Lab → · Contrast checker → · Palette generator →

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