#400219#400219

#400219 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.093 H 5.7°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#400219
RGBrgb(64, 2, 25)
HSLhsl(338, 94%, 13%)
HSVhsv(338, 97%, 25%)
CMYKcmyk(0%, 96.9%, 60.9%, 74.9%)
CIE-LABlab(10.59, 30.27, 3.54)
CIE-LCHlch(10.59, 30.48, 6.66°)
OKLaboklab(24.13% 0.0927 0.0092)
OKLCHoklch(24.13% 0.093 5.7)
XYZxyz(2.3118, 1.2039, 1.0302)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400219 #024029
analogous
#400238 #400219 #400A02
triadic
#400219 #194002 #021940
tetradic
#400219 #384002 #024029 #0A0240
square
#400219 #384002 #024029 #0A0240
split-complementary
#400219 #02400A #023840
monochromatic
#1E010C #1E010C #400219 #7B0430 #B70647

Accessibility & contrast

On white

16.92
#400219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400219
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400219#FFFFFF#000000##FFFFFF
##4002191.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #400219;
/* rgb */ color: rgb(64, 2, 25);
/* oklch */ color: oklch(24.1% 0.093 5.7);
Tailwind
colors: {
  custom: {
    50: '#794b55',
    500: '#400219',
    950: '#000000',
  },
}
SCSS
$custom: #400219;
$custom-light: #794b55;
$custom-dark: #000000;
JSON
{
  "hex": "#400219",
  "rgb": {
    "r": 64,
    "g": 2,
    "b": 25
  },
  "hsl": {
    "h": 337.742,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24133,
    "c": 0.0931,
    "h": 5.7
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#400219
secondary
#1B835C
accent
#FFB029
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0103
muted
#7C7778

Preview Lab

Preview with #400219

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

Preview Lab → · Contrast checker → · Palette generator →

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