#400E37#400E37

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

Color values

HEX#400E37
RGBrgb(64, 14, 55)
HSLhsl(311, 64%, 15%)
HSVhsv(311, 78%, 25%)
CMYKcmyk(0%, 78.1%, 14.1%, 74.9%)
CIE-LABlab(13.71, 29.26, -14.03)
CIE-LCHlch(13.71, 32.45, 334.39°)
OKLaboklab(26.85% 0.0857 -0.0382)
OKLCHoklch(26.85% 0.094 336)
XYZxyz(2.9610, 1.6802, 3.7820)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E37 #0E4017
analogous
#300E40 #400E37 #400E1E
triadic
#400E37 #37400E #0E3740
tetradic
#400E37 #40300E #0E4017 #0E1E40
square
#400E37 #40300E #0E4017 #0E1E40
split-complementary
#400E37 #1E400E #0E4030
monochromatic
#190516 #190516 #400E37 #721962 #A4248D

Accessibility & contrast

On white

15.72
#400E37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#400E37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E37
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E37#FFFFFF#000000##FFFFFF
##400E371.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1E38
Deuteranopia (green-blind)
#1F2636
Tritanopia (blue-blind)
#441121
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400e37;
/* rgb */ color: rgb(64, 14, 55);
/* oklch */ color: oklch(26.8% 0.094 336.0);
Tailwind
colors: {
  custom: {
    50: '#77526e',
    500: '#400e37',
    950: '#000000',
  },
}
SCSS
$custom: #400e37;
$custom-light: #77526e;
$custom-dark: #000000;
JSON
{
  "hex": "#400e37",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 55
  },
  "hsl": {
    "h": 310.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26846,
    "c": 0.09379,
    "h": 336
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#400E37
secondary
#2F7B3D
accent
#E75F41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400E37

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

Preview Lab → · Contrast checker → · Palette generator →

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