#400832#400832

#400832 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.098 H 340.3°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#400832
RGBrgb(64, 8, 50)
HSLhsl(315, 78%, 14%)
HSVhsv(315, 88%, 25%)
CMYKcmyk(0%, 87.5%, 21.9%, 74.9%)
CIE-LABlab(12.57, 30.85, -12.20)
CIE-LCHlch(12.57, 33.17, 338.43°)
OKLaboklab(25.93% 0.0922 -0.0329)
OKLCHoklch(25.93% 0.098 340.3)
XYZxyz(2.7770, 1.4942, 3.1592)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400832 #084016
analogous
#320840 #400832 #400816
triadic
#400832 #324008 #083240
tetradic
#400832 #403208 #084016 #081640
square
#400832 #403208 #084016 #081640
split-complementary
#400832 #164008 #084032
monochromatic
#1B0315 #1B0315 #400832 #760F5D #AD1687

Accessibility & contrast

On white

16.17
#400832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400832
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400832#FFFFFF#000000##FFFFFF
##4008321.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B33
Deuteranopia (green-blind)
#1F2431
Tritanopia (blue-blind)
#440A1C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400832;
/* rgb */ color: rgb(64, 8, 50);
/* oklch */ color: oklch(25.9% 0.098 340.3);
Tailwind
colors: {
  custom: {
    50: '#774f6a',
    500: '#400832',
    950: '#000000',
  },
}
SCSS
$custom: #400832;
$custom-light: #774f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400832",
  "rgb": {
    "r": 64,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 315,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25932,
    "c": 0.09792,
    "h": 340.3
  },
  "luminance": 0.01494
}

Semantic roles & 50–950 ramp

primary
#400832
secondary
#257E3C
accent
#F46434
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400832

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

Preview Lab → · Contrast checker → · Palette generator →

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