#402425#402425

#402425 is a dark, muted red. Relative luminance 0.025; OKLCH L 29.7% C 0.043 H 17.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#402425
RGBrgb(64, 36, 37)
HSLhsl(358, 28%, 20%)
HSVhsv(358, 44%, 25%)
CMYKcmyk(0%, 43.8%, 42.2%, 74.9%)
CIE-LABlab(17.85, 13.48, 5.01)
CIE-LCHlch(17.85, 14.38, 20.40°)
OKLaboklab(29.7% 0.0408 0.013)
OKLCHoklch(29.7% 0.043 17.7)
XYZxyz(3.0793, 2.4856, 2.0675)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402425 #24403F
analogous
#402433 #402425 #403124
triadic
#402425 #254024 #242540
tetradic
#402425 #334024 #24403F #312440
square
#402425 #334024 #24403F #312440
split-complementary
#402425 #244031 #243340
monochromatic
#140B0B #190E0E #402425 #673A3C #8E5052

Accessibility & contrast

On white

14.03
#402425 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#402425 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402425
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402425#FFFFFF#000000##FFFFFF
##4024251.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292825
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#452124
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #402425;
/* rgb */ color: rgb(64, 36, 37);
/* oklch */ color: oklch(29.7% 0.043 17.7);
Tailwind
colors: {
  custom: {
    50: '#765f5f',
    500: '#402425',
    950: '#000000',
  },
}
SCSS
$custom: #402425;
$custom-light: #765f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#402425",
  "rgb": {
    "r": 64,
    "g": 36,
    "b": 37
  },
  "hsl": {
    "h": 357.857,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29699,
    "c": 0.04284,
    "h": 17.7
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#402425
secondary
#4D7371
accent
#C4C163
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#080404
muted
#7B7979

Preview Lab

Preview with #402425

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

Preview Lab → · Contrast checker → · Palette generator →

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