#402430#402430

#402430 is a dark, muted pink. Relative luminance 0.026; OKLCH L 30.1% C 0.046 H 353.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#402430
RGBrgb(64, 36, 48)
HSLhsl(334, 28%, 20%)
HSVhsv(334, 44%, 25%)
CMYKcmyk(0%, 43.8%, 25%, 74.9%)
CIE-LABlab(18.21, 15.30, -2.20)
CIE-LCHlch(18.21, 15.46, 351.80°)
OKLaboklab(30.09% 0.0459 -0.0056)
OKLCHoklch(30.09% 0.046 353)
XYZxyz(3.2788, 2.5654, 3.1182)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402430 #244034
analogous
#40243E #402430 #402624
triadic
#402430 #304024 #243040
tetradic
#402430 #3E4024 #244034 #262440
square
#402430 #3E4024 #244034 #262440
split-complementary
#402430 #244026 #243E40
monochromatic
#140B0F #190E13 #402430 #673A4D #8E506B

Accessibility & contrast

On white

13.88
#402430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#402430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402430
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402430#FFFFFF#000000##FFFFFF
##4024301.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A30
Deuteranopia (green-blind)
#2E2E2F
Tritanopia (blue-blind)
#442328
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402430;
/* rgb */ color: rgb(64, 36, 48);
/* oklch */ color: oklch(30.1% 0.046 353.0);
Tailwind
colors: {
  custom: {
    50: '#765f68',
    500: '#402430',
    950: '#000000',
  },
}
SCSS
$custom: #402430;
$custom-light: #765f68;
$custom-dark: #000000;
JSON
{
  "hex": "#402430",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 48
  },
  "hsl": {
    "h": 334.286,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30091,
    "c": 0.04619,
    "h": 353
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#402430
secondary
#4D7363
accent
#C49B63
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#080406
muted
#7B797A

Preview Lab

Preview with #402430

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

Preview Lab → · Contrast checker → · Palette generator →

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