#400319#400319

#400319 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.3% C 0.092 H 6.1°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#400319
RGBrgb(64, 3, 25)
HSLhsl(338, 91%, 13%)
HSVhsv(338, 95%, 25%)
CMYKcmyk(0%, 95.3%, 60.9%, 74.9%)
CIE-LABlab(10.74, 29.81, 3.76)
CIE-LCHlch(10.74, 30.05, 7.19°)
OKLaboklab(24.25% 0.0912 0.0097)
OKLCHoklch(24.25% 0.092 6.1)
XYZxyz(2.3226, 1.2256, 1.0338)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400319 #03402A
analogous
#400337 #400319 #400C03
triadic
#400319 #194003 #031940
tetradic
#400319 #374003 #03402A #0C0340
square
#400319 #374003 #03402A #0C0340
split-complementary
#400319 #03400C #033740
monochromatic
#1D010B #1D010B #400319 #7A0630 #B50847

Accessibility & contrast

On white

16.87
#400319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#400319 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400319
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400319#FFFFFF#000000##FFFFFF
##4003191.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141519
Deuteranopia (green-blind)
#242118
Tritanopia (blue-blind)
#47000C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400319;
/* rgb */ color: rgb(64, 3, 25);
/* oklch */ color: oklch(24.3% 0.092 6.1);
Tailwind
colors: {
  custom: {
    50: '#794b55',
    500: '#400319',
    950: '#000000',
  },
}
SCSS
$custom: #400319;
$custom-light: #794b55;
$custom-dark: #000000;
JSON
{
  "hex": "#400319",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 25
  },
  "hsl": {
    "h": 338.361,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2425,
    "c": 0.09168,
    "h": 6.1
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#400319
secondary
#1D825E
accent
#FFB229
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0103
muted
#7C7778

Preview Lab

Preview with #400319

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

Preview Lab → · Contrast checker → · Palette generator →

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