#403438#403438

#403438 is a dark, near-neutral pink. Relative luminance 0.038; OKLCH L 33.9% C 0.018 H 356.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#403438
RGBrgb(64, 52, 56)
HSLhsl(340, 10%, 23%)
HSVhsv(340, 19%, 25%)
CMYKcmyk(0%, 18.8%, 12.5%, 74.9%)
CIE-LABlab(23.11, 6.16, -0.51)
CIE-LCHlch(23.11, 6.18, 355.31°)
OKLaboklab(33.95% 0.0183 -0.0012)
OKLCHoklch(33.95% 0.018 356.1)
XYZxyz(4.0561, 3.8316, 4.2665)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403438 #34403C
analogous
#40343E #403438 #403634
triadic
#403438 #384034 #343840
tetradic
#403438 #3E4034 #34403C #363440
square
#403438 #3E4034 #34403C #363440
split-complementary
#403438 #344036 #343E40
monochromatic
#110E0F #1E191A #403438 #624F56 #846B73

Accessibility & contrast

On white

11.89
#403438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403438
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403438#FFFFFF#000000##FFFFFF
##4034381.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353638
Deuteranopia (green-blind)
#383838
Tritanopia (blue-blind)
#423435
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403438;
/* rgb */ color: rgb(64, 52, 56);
/* oklch */ color: oklch(33.9% 0.018 356.1);
Tailwind
colors: {
  custom: {
    50: '#756b6e',
    500: '#403438',
    950: '#000000',
  },
}
SCSS
$custom: #403438;
$custom-light: #756b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#403438",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 56
  },
  "hsl": {
    "h": 340,
    "s": 10.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33948,
    "c": 0.01833,
    "h": 356.1
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#403438
secondary
#606F6A
accent
#B39E75
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #403438

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

Preview Lab → · Contrast checker → · Palette generator →

#403438 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva