#400823#400823

#400823 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.088 H 356.5°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#400823
RGBrgb(64, 8, 35)
HSLhsl(331, 78%, 14%)
HSVhsv(331, 88%, 25%)
CMYKcmyk(0%, 87.5%, 45.3%, 74.9%)
CIE-LABlab(11.86, 28.71, -2.20)
CIE-LCHlch(11.86, 28.79, 355.62°)
OKLaboklab(25.18% 0.0883 -0.0054)
OKLCHoklch(25.18% 0.088 356.5)
XYZxyz(2.5047, 1.3853, 1.7253)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400823 #084025
analogous
#40083F #400823 #400908
triadic
#400823 #234008 #082340
tetradic
#400823 #3F4008 #084025 #090840
square
#400823 #3F4008 #084025 #090840
split-complementary
#400823 #084009 #083F40
monochromatic
#1B030F #1B030F #400823 #760F41 #AD165F

Accessibility & contrast

On white

16.44
#400823 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#400823 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400823
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400823#FFFFFF#000000##FFFFFF
##4008231.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141924
Deuteranopia (green-blind)
#232322
Tritanopia (blue-blind)
#460214
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400823;
/* rgb */ color: rgb(64, 8, 35);
/* oklch */ color: oklch(25.2% 0.088 356.5);
Tailwind
colors: {
  custom: {
    50: '#784e5d',
    500: '#400823',
    950: '#000000',
  },
}
SCSS
$custom: #400823;
$custom-light: #784e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400823",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 35
  },
  "hsl": {
    "h": 331.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25182,
    "c": 0.08842,
    "h": 356.5
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#400823
secondary
#257E53
accent
#F49734
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400823

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

Preview Lab → · Contrast checker → · Palette generator →

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