#400D35#400D35

#400D35 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.094 H 337.8°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#400D35
RGBrgb(64, 13, 53)
HSLhsl(313, 66%, 15%)
HSVhsv(313, 80%, 25%)
CMYKcmyk(0%, 79.7%, 17.2%, 74.9%)
CIE-LABlab(13.44, 29.35, -13.01)
CIE-LCHlch(13.44, 32.10, 336.09°)
OKLaboklab(26.62% 0.0867 -0.0353)
OKLCHoklch(26.62% 0.094 337.8)
XYZxyz(2.9009, 1.6351, 3.5303)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D35 #0D4018
analogous
#310D40 #400D35 #400D1C
triadic
#400D35 #35400D #0D3540
tetradic
#400D35 #40310D #0D4018 #0D1C40
square
#400D35 #40310D #0D4018 #0D1C40
split-complementary
#400D35 #1C400D #0D4031
monochromatic
#190515 #190515 #400D35 #73175F #A62289

Accessibility & contrast

On white

15.83
#400D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#400D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D35
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D35#FFFFFF#000000##FFFFFF
##400D351.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D36
Deuteranopia (green-blind)
#202534
Tritanopia (blue-blind)
#44101F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400d35;
/* rgb */ color: rgb(64, 13, 53);
/* oklch */ color: oklch(26.6% 0.094 337.8);
Tailwind
colors: {
  custom: {
    50: '#77516c',
    500: '#400d35',
    950: '#000000',
  },
}
SCSS
$custom: #400d35;
$custom-light: #77516c;
$custom-dark: #000000;
JSON
{
  "hex": "#400d35",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 312.941,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26616,
    "c": 0.09356,
    "h": 337.8
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#400D35
secondary
#2D7C3E
accent
#E9633F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400D35

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

Preview Lab → · Contrast checker → · Palette generator →

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