#400E36#400E36

#400E36 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.093 H 336.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#400E36
RGBrgb(64, 14, 54)
HSLhsl(312, 64%, 15%)
HSVhsv(312, 78%, 25%)
CMYKcmyk(0%, 78.1%, 15.6%, 74.9%)
CIE-LABlab(13.65, 29.09, -13.40)
CIE-LCHlch(13.65, 32.02, 335.26°)
OKLaboklab(26.79% 0.0855 -0.0364)
OKLCHoklch(26.79% 0.093 336.9)
XYZxyz(2.9373, 1.6707, 3.6571)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E36 #0E4018
analogous
#310E40 #400E36 #400E1D
triadic
#400E36 #36400E #0E3640
tetradic
#400E36 #40310E #0E4018 #0E1D40
square
#400E36 #40310E #0E4018 #0E1D40
split-complementary
#400E36 #1D400E #0E4031
monochromatic
#190515 #190515 #400E36 #721960 #A4248B

Accessibility & contrast

On white

15.74
#400E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E36
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E36#FFFFFF#000000##FFFFFF
##400E361.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E37
Deuteranopia (green-blind)
#202635
Tritanopia (blue-blind)
#441120
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400e36;
/* rgb */ color: rgb(64, 14, 54);
/* oklch */ color: oklch(26.8% 0.093 336.9);
Tailwind
colors: {
  custom: {
    50: '#77526d',
    500: '#400e36',
    950: '#000000',
  },
}
SCSS
$custom: #400e36;
$custom-light: #77526d;
$custom-dark: #000000;
JSON
{
  "hex": "#400e36",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 312,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26788,
    "c": 0.09293,
    "h": 336.9
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#400E36
secondary
#2F7B3E
accent
#E76241
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400E36

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

Preview Lab → · Contrast checker → · Palette generator →

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