#400625#400625

#400625 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.092 H 353.6°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#400625
RGBrgb(64, 6, 37)
HSLhsl(328, 83%, 14%)
HSVhsv(328, 91%, 25%)
CMYKcmyk(0%, 90.6%, 42.2%, 74.9%)
CIE-LABlab(11.65, 29.79, -4.01)
CIE-LCHlch(11.65, 30.06, 352.33°)
OKLaboklab(25.06% 0.0916 -0.0102)
OKLCHoklch(25.06% 0.092 353.6)
XYZxyz(2.5136, 1.3541, 1.8789)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400625 #064021
analogous
#3E0640 #400625 #400608
triadic
#400625 #254006 #062540
tetradic
#400625 #403E06 #064021 #060840
square
#400625 #403E06 #064021 #060840
split-complementary
#400625 #084006 #06403E
monochromatic
#1C0310 #1C0310 #400625 #780B45 #B01066

Accessibility & contrast

On white

16.53
#400625 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400625
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400625#FFFFFF#000000##FFFFFF
##4006251.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121826
Deuteranopia (green-blind)
#222324
Tritanopia (blue-blind)
#460114
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400625;
/* rgb */ color: rgb(64, 6, 37);
/* oklch */ color: oklch(25.1% 0.092 353.6);
Tailwind
colors: {
  custom: {
    50: '#784d5f',
    500: '#400625',
    950: '#000000',
  },
}
SCSS
$custom: #400625;
$custom-light: #784d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400625",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 37
  },
  "hsl": {
    "h": 327.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25055,
    "c": 0.09218,
    "h": 353.6
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#400625
secondary
#22804E
accent
#F98D2F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400625

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

Preview Lab → · Contrast checker → · Palette generator →

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