#400825#400825

#400825 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.089 H 354.2°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#400825
RGBrgb(64, 8, 37)
HSLhsl(329, 78%, 14%)
HSVhsv(329, 88%, 25%)
CMYKcmyk(0%, 87.5%, 42.2%, 74.9%)
CIE-LABlab(11.94, 28.96, -3.57)
CIE-LCHlch(11.94, 29.18, 352.96°)
OKLaboklab(25.27% 0.089 -0.0091)
OKLCHoklch(25.27% 0.089 354.2)
XYZxyz(2.5353, 1.3975, 1.8861)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400825 #084023
analogous
#3F0840 #400825 #400809
triadic
#400825 #254008 #082540
tetradic
#400825 #403F08 #084023 #080940
square
#400825 #403F08 #084023 #080940
split-complementary
#400825 #094008 #08403F
monochromatic
#1B0310 #1B0310 #400825 #760F44 #AD1664

Accessibility & contrast

On white

16.41
#400825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400825
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400825#FFFFFF#000000##FFFFFF
##4008251.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131926
Deuteranopia (green-blind)
#232324
Tritanopia (blue-blind)
#460315
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400825;
/* rgb */ color: rgb(64, 8, 37);
/* oklch */ color: oklch(25.3% 0.089 354.2);
Tailwind
colors: {
  custom: {
    50: '#784e5f',
    500: '#400825',
    950: '#000000',
  },
}
SCSS
$custom: #400825;
$custom-light: #784e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400825",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 37
  },
  "hsl": {
    "h": 328.929,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25268,
    "c": 0.08942,
    "h": 354.2
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#400825
secondary
#257E50
accent
#F49034
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400825

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

Preview Lab → · Contrast checker → · Palette generator →

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