#400525#400525

#400525 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.9% C 0.094 H 353.3°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#400525
RGBrgb(64, 5, 37)
HSLhsl(327, 86%, 14%)
HSVhsv(327, 92%, 25%)
CMYKcmyk(0%, 92.2%, 42.2%, 74.9%)
CIE-LABlab(11.50, 30.22, -4.24)
CIE-LCHlch(11.50, 30.51, 352.02°)
OKLaboklab(24.95% 0.093 -0.0108)
OKLCHoklch(24.95% 0.094 353.3)
XYZxyz(2.5027, 1.3324, 1.8753)
Luminance0.0133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400525 #054020
analogous
#3D0540 #400525 #400507
triadic
#400525 #254005 #052540
tetradic
#400525 #403D05 #054020 #050740
square
#400525 #403D05 #054020 #050740
split-complementary
#400525 #074005 #05403D
monochromatic
#1C0210 #1C0210 #400525 #790946 #B20E67

Accessibility & contrast

On white

16.58
#400525 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400525 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400525
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400525#FFFFFF#000000##FFFFFF
##4005251.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111826
Deuteranopia (green-blind)
#222224
Tritanopia (blue-blind)
#460014
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400525;
/* rgb */ color: rgb(64, 5, 37);
/* oklch */ color: oklch(24.9% 0.094 353.3);
Tailwind
colors: {
  custom: {
    50: '#784d5f',
    500: '#400525',
    950: '#000000',
  },
}
SCSS
$custom: #400525;
$custom-light: #784d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400525",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 37
  },
  "hsl": {
    "h": 327.458,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24947,
    "c": 0.09359,
    "h": 353.3
  },
  "luminance": 0.01332
}

Semantic roles & 50–950 ramp

primary
#400525
secondary
#20814C
accent
#FC8B2C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400525

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

Preview Lab → · Contrast checker → · Palette generator →

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