#400B35#400B35

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

Color values

HEX#400B35
RGBrgb(64, 11, 53)
HSLhsl(312, 71%, 15%)
HSVhsv(312, 83%, 25%)
CMYKcmyk(0%, 82.8%, 17.2%, 74.9%)
CIE-LABlab(13.15, 30.18, -13.47)
CIE-LCHlch(13.15, 33.05, 335.95°)
OKLaboklab(26.4% 0.0891 -0.0366)
OKLCHoklch(26.4% 0.096 337.7)
XYZxyz(2.8767, 1.5866, 3.5222)
Luminance0.0159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B35 #0B4016
analogous
#310B40 #400B35 #400B1B
triadic
#400B35 #35400B #0B3540
tetradic
#400B35 #40310B #0B4016 #0B1B40
square
#400B35 #40310B #0B4016 #0B1B40
split-complementary
#400B35 #1B400B #0B4031
monochromatic
#1A0416 #1A0416 #400B35 #741460 #A81D8B

Accessibility & contrast

On white

15.94
#400B35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B35
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B35#FFFFFF#000000##FFFFFF
##400B351.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400b35;
/* rgb */ color: rgb(64, 11, 53);
/* oklch */ color: oklch(26.4% 0.096 337.7);
Tailwind
colors: {
  custom: {
    50: '#77506c',
    500: '#400b35',
    950: '#000000',
  },
}
SCSS
$custom: #400b35;
$custom-light: #77506c;
$custom-dark: #000000;
JSON
{
  "hex": "#400b35",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 53
  },
  "hsl": {
    "h": 312.453,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26403,
    "c": 0.09635,
    "h": 337.7
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#400B35
secondary
#2A7D3B
accent
#ED603A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400B35

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

Preview Lab → · Contrast checker → · Palette generator →

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