#400E33#400E33

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

Color values

HEX#400E33
RGBrgb(64, 14, 51)
HSLhsl(316, 64%, 15%)
HSVhsv(316, 78%, 25%)
CMYKcmyk(0%, 78.1%, 20.3%, 74.9%)
CIE-LABlab(13.49, 28.56, -11.49)
CIE-LCHlch(13.49, 30.78, 338.08°)
OKLaboklab(26.62% 0.085 -0.031)
OKLCHoklch(26.62% 0.09 340)
XYZxyz(2.8690, 1.6434, 3.2974)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E33 #0E401B
analogous
#340E40 #400E33 #400E1A
triadic
#400E33 #33400E #0E3340
tetradic
#400E33 #40340E #0E401B #0E1A40
square
#400E33 #40340E #0E401B #0E1A40
split-complementary
#400E33 #1A400E #0E4034
monochromatic
#190514 #190514 #400E33 #72195B #A42483

Accessibility & contrast

On white

15.81
#400E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E33
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E33#FFFFFF#000000##FFFFFF
##400E331.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111D34
Deuteranopia (green-blind)
#212532
Tritanopia (blue-blind)
#440F1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400e33;
/* rgb */ color: rgb(64, 14, 51);
/* oklch */ color: oklch(26.6% 0.090 340.0);
Tailwind
colors: {
  custom: {
    50: '#77516a',
    500: '#400e33',
    950: '#000000',
  },
}
SCSS
$custom: #400e33;
$custom-light: #77516a;
$custom-dark: #000000;
JSON
{
  "hex": "#400e33",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 315.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26616,
    "c": 0.09044,
    "h": 340
  },
  "luminance": 0.01643
}

Semantic roles & 50–950 ramp

primary
#400E33
secondary
#2F7B43
accent
#E76C41
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400E33

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

Preview Lab → · Contrast checker → · Palette generator →

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