#400425#400425

#400425 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.8% C 0.095 H 353.1°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#400425
RGBrgb(64, 4, 37)
HSLhsl(327, 88%, 13%)
HSVhsv(327, 94%, 25%)
CMYKcmyk(0%, 93.8%, 42.2%, 74.9%)
CIE-LABlab(11.35, 30.65, -4.46)
CIE-LCHlch(11.35, 30.97, 351.72°)
OKLaboklab(24.84% 0.0943 -0.0114)
OKLCHoklch(24.84% 0.095 353.1)
XYZxyz(2.4919, 1.3107, 1.8717)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400425 #04401F
analogous
#3D0440 #400425 #400407
triadic
#400425 #254004 #042540
tetradic
#400425 #403D04 #04401F #040740
square
#400425 #403D04 #04401F #040740
split-complementary
#400425 #074004 #04403D
monochromatic
#1D0211 #1D0211 #400425 #7A0846 #B30B68

Accessibility & contrast

On white

16.64
#400425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400425 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400425
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400425#FFFFFF#000000##FFFFFF
##4004251.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101726
Deuteranopia (green-blind)
#222224
Tritanopia (blue-blind)
#460013
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400425;
/* rgb */ color: rgb(64, 4, 37);
/* oklch */ color: oklch(24.8% 0.095 353.1);
Tailwind
colors: {
  custom: {
    50: '#784c5f',
    500: '#400425',
    950: '#000000',
  },
}
SCSS
$custom: #400425;
$custom-light: #784c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400425",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 37
  },
  "hsl": {
    "h": 327,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24838,
    "c": 0.09503,
    "h": 353.1
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#400425
secondary
#1F814B
accent
#FE8929
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090104
muted
#7B7779

Preview Lab

Preview with #400425

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

Preview Lab → · Contrast checker → · Palette generator →

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