#403238#403238

#403238 is a dark, muted pink. Relative luminance 0.037; OKLCH L 33.5% C 0.022 H 350.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#403238
RGBrgb(64, 50, 56)
HSLhsl(334, 12%, 22%)
HSVhsv(334, 22%, 25%)
CMYKcmyk(0%, 21.9%, 12.5%, 74.9%)
CIE-LABlab(22.50, 7.50, -1.39)
CIE-LCHlch(22.50, 7.63, 349.49°)
OKLaboklab(33.48% 0.0221 -0.0036)
OKLCHoklch(33.48% 0.022 350.8)
XYZxyz(3.9687, 3.6568, 4.2374)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403238 #32403A
analogous
#40323F #403238 #403332
triadic
#403238 #384032 #323840
tetradic
#403238 #3F4032 #32403A #333240
square
#403238 #3F4032 #32403A #333240
split-complementary
#403238 #324033 #323F40
monochromatic
#110D0F #1E171A #403238 #624D56 #856874

Accessibility & contrast

On white

12.13
#403238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#403238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403238
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403238#FFFFFF#000000##FFFFFF
##4032381.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#363738
Tritanopia (blue-blind)
#423234
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403238;
/* rgb */ color: rgb(64, 50, 56);
/* oklch */ color: oklch(33.5% 0.022 350.8);
Tailwind
colors: {
  custom: {
    50: '#75696e',
    500: '#403238',
    950: '#000000',
  },
}
SCSS
$custom: #403238;
$custom-light: #75696e;
$custom-dark: #000000;
JSON
{
  "hex": "#403238",
  "rgb": {
    "r": 64,
    "g": 50,
    "b": 56
  },
  "hsl": {
    "h": 334.286,
    "s": 12.281,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33479,
    "c": 0.02239,
    "h": 350.8
  },
  "luminance": 0.03657
}

Semantic roles & 50–950 ramp

primary
#403238
secondary
#5E7068
accent
#B59973
background
#F7F6F6
surface
#EDEBEB
border
#C8C6C6
text
#080607
muted
#7B7A7A

Preview Lab

Preview with #403238

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

Preview Lab → · Contrast checker → · Palette generator →

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