#400620#400620

#400620 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.8% C 0.090 H 359.3°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#400620
RGBrgb(64, 6, 32)
HSLhsl(333, 83%, 14%)
HSVhsv(333, 91%, 25%)
CMYKcmyk(0%, 90.6%, 50%, 74.9%)
CIE-LABlab(11.45, 29.19, -0.55)
CIE-LCHlch(11.45, 29.20, 358.92°)
OKLaboklab(24.84% 0.0898 -0.0011)
OKLCHoklch(24.84% 0.09 359.3)
XYZxyz(2.4404, 1.3249, 1.4934)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400620 #064026
analogous
#40063D #400620 #400906
triadic
#400620 #204006 #062040
tetradic
#400620 #3D4006 #064026 #090640
square
#400620 #3D4006 #064026 #090640
split-complementary
#400620 #064009 #063D40
monochromatic
#1C030E #1C030E #400620 #780B3C #B01058

Accessibility & contrast

On white

16.60
#400620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#400620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400620
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400620#FFFFFF#000000##FFFFFF
##4006201.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141721
Deuteranopia (green-blind)
#23221F
Tritanopia (blue-blind)
#460012
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #400620;
/* rgb */ color: rgb(64, 6, 32);
/* oklch */ color: oklch(24.8% 0.090 359.3);
Tailwind
colors: {
  custom: {
    50: '#794d5b',
    500: '#400620',
    950: '#000000',
  },
}
SCSS
$custom: #400620;
$custom-light: #794d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#400620",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 32
  },
  "hsl": {
    "h": 333.103,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24843,
    "c": 0.08982,
    "h": 359.3
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#400620
secondary
#228056
accent
#F99E2F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400620

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

Preview Lab → · Contrast checker → · Palette generator →

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