#400925#400925

#400925 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.088 H 354.5°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#400925
RGBrgb(64, 9, 37)
HSLhsl(329, 75%, 14%)
HSVhsv(329, 86%, 25%)
CMYKcmyk(0%, 85.9%, 42.2%, 74.9%)
CIE-LABlab(12.08, 28.55, -3.36)
CIE-LCHlch(12.08, 28.75, 353.29°)
OKLaboklab(25.37% 0.0877 -0.0085)
OKLCHoklch(25.37% 0.088 354.5)
XYZxyz(2.5461, 1.4192, 1.8898)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400925 #094024
analogous
#400940 #400925 #400909
triadic
#400925 #254009 #092540
tetradic
#400925 #404009 #094024 #090940
square
#400925 #404009 #094024 #090940
split-complementary
#400925 #094009 #094040
monochromatic
#1B0410 #1B0410 #400925 #761144 #AB1863

Accessibility & contrast

On white

16.36
#400925 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400925 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400925
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400925#FFFFFF#000000##FFFFFF
##4009251.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141926
Deuteranopia (green-blind)
#232324
Tritanopia (blue-blind)
#460415
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400925;
/* rgb */ color: rgb(64, 9, 37);
/* oklch */ color: oklch(25.4% 0.088 354.5);
Tailwind
colors: {
  custom: {
    50: '#784f5f',
    500: '#400925',
    950: '#000000',
  },
}
SCSS
$custom: #400925;
$custom-light: #784f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400925",
  "rgb": {
    "r": 64,
    "g": 9,
    "b": 37
  },
  "hsl": {
    "h": 329.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.08807,
    "h": 354.5
  },
  "luminance": 0.01419
}

Semantic roles & 50–950 ramp

primary
#400925
secondary
#277E52
accent
#F29236
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400925

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

Preview Lab → · Contrast checker → · Palette generator →

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