#400B37#400B37

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

Color values

HEX#400B37
RGBrgb(64, 11, 55)
HSLhsl(310, 71%, 15%)
HSVhsv(310, 83%, 25%)
CMYKcmyk(0%, 82.8%, 14.1%, 74.9%)
CIE-LABlab(13.26, 30.53, -14.73)
CIE-LCHlch(13.26, 33.90, 334.24°)
OKLaboklab(26.52% 0.0894 -0.0402)
OKLCHoklch(26.52% 0.098 335.8)
XYZxyz(2.9237, 1.6054, 3.7696)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B37 #0B4014
analogous
#2F0B40 #400B37 #400B1C
triadic
#400B37 #37400B #0B3740
tetradic
#400B37 #402F0B #0B4014 #0B1C40
square
#400B37 #402F0B #0B4014 #0B1C40
split-complementary
#400B37 #1C400B #0B402F
monochromatic
#1A0416 #1A0416 #400B37 #741464 #A81D91

Accessibility & contrast

On white

15.90
#400B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B37
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B37#FFFFFF#000000##FFFFFF
##400B371.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400b37;
/* rgb */ color: rgb(64, 11, 55);
/* oklch */ color: oklch(26.5% 0.098 335.8);
Tailwind
colors: {
  custom: {
    50: '#77506e',
    500: '#400b37',
    950: '#000000',
  },
}
SCSS
$custom: #400b37;
$custom-light: #77506e;
$custom-dark: #000000;
JSON
{
  "hex": "#400b37",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 310.189,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26523,
    "c": 0.09801,
    "h": 335.8
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#400B37
secondary
#2A7D38
accent
#ED593A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400B37

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

Preview Lab → · Contrast checker → · Palette generator →

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