#400623#400623

#400623 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 25.0% C 0.091 H 355.9°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#400623
RGBrgb(64, 6, 35)
HSLhsl(330, 83%, 14%)
HSVhsv(330, 91%, 25%)
CMYKcmyk(0%, 90.6%, 45.3%, 74.9%)
CIE-LABlab(11.57, 29.54, -2.64)
CIE-LCHlch(11.57, 29.66, 354.90°)
OKLaboklab(24.97% 0.0909 -0.0066)
OKLCHoklch(24.97% 0.091 355.9)
XYZxyz(2.4830, 1.3419, 1.7180)
Luminance0.0134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400623 #064023
analogous
#400640 #400623 #400606
triadic
#400623 #234006 #062340
tetradic
#400623 #404006 #064023 #060640
square
#400623 #404006 #064023 #060640
split-complementary
#400623 #064006 #064040
monochromatic
#1C030F #1C030F #400623 #780B42 #B01060

Accessibility & contrast

On white

16.56
#400623 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400623
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400623#FFFFFF#000000##FFFFFF
##4006231.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131824
Deuteranopia (green-blind)
#232222
Tritanopia (blue-blind)
#460113
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400623;
/* rgb */ color: rgb(64, 6, 35);
/* oklch */ color: oklch(25.0% 0.091 355.9);
Tailwind
colors: {
  custom: {
    50: '#784d5d',
    500: '#400623',
    950: '#000000',
  },
}
SCSS
$custom: #400623;
$custom-light: #784d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400623",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 35
  },
  "hsl": {
    "h": 330,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24967,
    "c": 0.09116,
    "h": 355.9
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#400623
secondary
#228051
accent
#F9942F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400623

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

Preview Lab → · Contrast checker → · Palette generator →

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