Skip to content

#402425

a deep, soft red · warm · closest name: Black

RGB
64, 36, 37
HSL
358°, 28%, 20%
CMYK
0, 44, 42, 75
Luminance
0.0249

At a glance

Every number on this page in one read: what #402425 is made of, how bright it looks, and which way it leans.

Hex
#402425
Hue
358°
red
Saturation
28%
soft
Lightness
20%
deep
Brightness
25%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0249
WCAG relative
Temperature
Warm
24/100 cool
Color family
Red
Tone
Soft
Best ink
White
14.03:1
Closest name
Black
ΔE2000 18
Where it sits
Hue358° of 360°
Saturation28%
Lightness20%
Temperature
Warm ← → Cool24% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#402425
RGBrgb(64, 36, 37)
HSLhsl(358, 28%, 20%)
CMYKcmyk(0%, 44%, 42%, 75%)
LABlab(17.9 13.5 5.0)
LCHlch(17.9 14.4 20.4)
OKLCHoklch(0.297 0.043 17.7)
Decimal4203557
Display P3color(display-p3 0.251 0.141 0.145)

Copy-ready code

/* CSS */
color: #402425;
background-color: #402425;
/* Tailwind (arbitrary) */
class="text-[#402425] bg-[#402425]"
/* SCSS */
$brand: #402425;
/* SwiftUI */
Color(red: 0.251, green: 0.141, blue: 0.145)
/* Android */
Color.parseColor("#402425")
/* Flutter */
Color(0xFF402425)
/* Python / OpenCV (BGR) */
(37, 36, 64)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #402425 · 14.03:1
Use #ffffffAAA at every size.
Aa
White text · 14.03:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.50:1
AA fail · AA large fail · AAA fail
Reading the other direction: #402425 as text scores 14.03:1 on white and 1.50:1 on black.

Accessibility — WCAG contrast

Aa
#402425 on white: 14.03:1
AA ✓ pass · AA-large · AAA
Aa
#402425 on black: 1.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #292825
deuteranopia · #302E25
tritanopia · #452124

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #402425 is pinned to step 900; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F6F6
#F3ECED
#E6D6D6
#D7B7B8
#C29395
#AE6F72
#9D585B
#83494B
#683B3C
#402425
#301C1D
Base = 900Lightest = 50 · #F9F6F6Darkest = 950 · #301C1D
:root {
  --brand-50: #F9F6F6;
  --brand-100: #F3ECED;
  --brand-200: #E6D6D6;
  --brand-300: #D7B7B8;
  --brand-400: #C29395;
  --brand-500: #AE6F72;
  --brand-600: #9D585B;
  --brand-700: #83494B;
  --brand-800: #683B3C;
  --brand-900: #402425;
  --brand-950: #301C1D;
  --brand: #402425;
  --brand-ink: #ffffff;
}

Colors that work with #402425

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F5F5
Tinted page background
Border#E2CBCC
Hairlines and dividers
Muted text#935355
Captions on the surface
Accent#224239
Second voice, not a rival
Dark variant#522E2F
Hover, pressed, headers
Light variant#F6EFEF
Selected rows, tints
Dark surface#241415
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #402425

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#24403F
Analogous left#402433
Analogous right#403124
Split-complement 1#244031
Split-complement 2#243340
Triadic 1#254024
Triadic 2#242540
Tetradic#334024

RGB percentages

Red25.1%
Green14.1%
Blue14.5%

CMYK percentages

Cyan0.0%
Magenta43.8%
Yellow42.2%
Key (black)74.9%

Color previews

#402425 text on a black background

contrast 1.50:1

Card sample

#402425 text on a white background

contrast 14.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #402425;
Background color
Panel with #402425 background
background-color: #402425;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #402425;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 36, 37, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 36, 37, 0.45);
Border & gradient
Gradient panel
border: 3px solid #402425;
background: linear-gradient(135deg, #402425, #403624);

Monochromatic scale

Palettes built from #402425

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#402425 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Food and drinkEntertainmentRetailSport
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#402425, answered

What color is #402425?

#402425 is a deep soft red, closest to Black (ΔE2000 18). It sits at 358° on the hue wheel with 28% saturation and 20% lightness, which reads as warm.

What is the RGB value of #402425?

rgb(64, 36, 37) — 64 red, 36 green and 37 blue out of 255, or 25.1% / 14.1% / 14.5% by channel.

Is #402425 a light or a dark color?

It is a dark color. Relative luminance is 0.0249 and perceived brightness is 18%, so white text on it reaches 14.03:1.

Should I use black or white text on #402425?

White. It scores 14.03:1 against #402425, versus 1.50:1 for black — AAA at any size.

What is the complementary color of #402425?

#24403F sits directly opposite on the wheel. Softer options are the split-complements #244031 and #243340, which give the same contrast with far less vibration.

What colors go well with #402425?

For interface work: #F9F5F5 as the surface, #E2CBCC for borders, #935355 for secondary text, #224239 as an accent and #522E2F for hover and pressed states. For a palette, the analogous pair #402433 and #403124 stays calm, while #24403F is the loudest partner.

What is #402425 in CMYK for printing?

cmyk(0%, 44%, 42%, 75%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #402425 warm or cool?

Warm — it scores 24 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #402D24; nudged cooler, #41232F.

Work with #402425 in the Color Lab