#400A25#400A25

#400A25 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.087 H 354.7°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#400A25
RGBrgb(64, 10, 37)
HSLhsl(330, 73%, 15%)
HSVhsv(330, 84%, 25%)
CMYKcmyk(0%, 84.4%, 42.2%, 74.9%)
CIE-LABlab(12.23, 28.15, -3.15)
CIE-LCHlch(12.23, 28.32, 353.62°)
OKLaboklab(25.48% 0.0864 -0.0079)
OKLCHoklch(25.48% 0.087 354.7)
XYZxyz(2.5570, 1.4410, 1.8934)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A25 #0A4025
analogous
#400A40 #400A25 #400A0A
triadic
#400A25 #25400A #0A2540
tetradic
#400A25 #40400A #0A4025 #0A0A40
square
#400A25 #40400A #0A4025 #0A0A40
split-complementary
#400A25 #0A400A #0A4040
monochromatic
#1A040F #1A040F #400A25 #751244 #AA1B62

Accessibility & contrast

On white

16.30
#400A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400A25
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A25#FFFFFF#000000##FFFFFF
##400A251.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A26
Deuteranopia (green-blind)
#242424
Tritanopia (blue-blind)
#460516
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400a25;
/* rgb */ color: rgb(64, 10, 37);
/* oklch */ color: oklch(25.5% 0.087 354.7);
Tailwind
colors: {
  custom: {
    50: '#784f5f',
    500: '#400a25',
    950: '#000000',
  },
}
SCSS
$custom: #400a25;
$custom-light: #784f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400a25",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 37
  },
  "hsl": {
    "h": 330,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25478,
    "c": 0.08676,
    "h": 354.7
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#400A25
secondary
#297D53
accent
#F09438
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400A25

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

Preview Lab → · Contrast checker → · Palette generator →

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