#400D25#400D25

#400D25 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.8% C 0.083 H 355.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#400D25
RGBrgb(64, 13, 37)
HSLhsl(332, 66%, 15%)
HSVhsv(332, 80%, 25%)
CMYKcmyk(0%, 79.7%, 42.2%, 74.9%)
CIE-LABlab(12.68, 26.88, -2.47)
CIE-LCHlch(12.68, 26.99, 354.75°)
OKLaboklab(25.81% 0.0824 -0.0062)
OKLCHoklch(25.81% 0.083 355.7)
XYZxyz(2.5924, 1.5117, 1.9052)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D25 #0D4028
analogous
#400D3E #400D25 #400F0D
triadic
#400D25 #25400D #0D2540
tetradic
#400D25 #3E400D #0D4028 #0F0D40
square
#400D25 #3E400D #0D4028 #0F0D40
split-complementary
#400D25 #0D400F #0D3E40
monochromatic
#19050F #19050F #400D25 #731742 #A62260

Accessibility & contrast

On white

16.13
#400D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400D25
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D25#FFFFFF#000000##FFFFFF
##400D251.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B26
Deuteranopia (green-blind)
#252424
Tritanopia (blue-blind)
#460817
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400d25;
/* rgb */ color: rgb(64, 13, 37);
/* oklch */ color: oklch(25.8% 0.083 355.7);
Tailwind
colors: {
  custom: {
    50: '#78505f',
    500: '#400d25',
    950: '#000000',
  },
}
SCSS
$custom: #400d25;
$custom-light: #78505f;
$custom-dark: #000000;
JSON
{
  "hex": "#400d25",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 37
  },
  "hsl": {
    "h": 331.765,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25812,
    "c": 0.08259,
    "h": 355.7
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#400D25
secondary
#2D7C57
accent
#E9993F
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400D25

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

Preview Lab → · Contrast checker → · Palette generator →

#400D25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva