#400433#400433

#400433 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.6% C 0.104 H 339.1°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#400433
RGBrgb(64, 4, 51)
HSLhsl(313, 88%, 13%)
HSVhsv(313, 94%, 25%)
CMYKcmyk(0%, 93.8%, 20.3%, 74.9%)
CIE-LABlab(12.06, 32.63, -13.71)
CIE-LCHlch(12.06, 35.40, 337.20°)
OKLaboklab(25.59% 0.0973 -0.0372)
OKLCHoklch(25.59% 0.104 339.1)
XYZxyz(2.7554, 1.4161, 3.2596)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400433 #044011
analogous
#2F0440 #400433 #400415
triadic
#400433 #334004 #043340
tetradic
#400433 #402F04 #044011 #041540
square
#400433 #402F04 #044011 #041540
split-complementary
#400433 #154004 #04402F
monochromatic
#1D0217 #1D0217 #400433 #7A0861 #B30B8F

Accessibility & contrast

On white

16.37
#400433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400433
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400433#FFFFFF#000000##FFFFFF
##4004331.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081A34
Deuteranopia (green-blind)
#1D2332
Tritanopia (blue-blind)
#44071B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400433;
/* rgb */ color: rgb(64, 4, 51);
/* oklch */ color: oklch(25.6% 0.104 339.1);
Tailwind
colors: {
  custom: {
    50: '#784d6a',
    500: '#400433',
    950: '#000000',
  },
}
SCSS
$custom: #400433;
$custom-light: #784d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400433",
  "rgb": {
    "r": 64,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 313,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25586,
    "c": 0.10416,
    "h": 339.1
  },
  "luminance": 0.01416
}

Semantic roles & 50–950 ramp

primary
#400433
secondary
#1F8134
accent
#FE5829
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400433

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

Preview Lab → · Contrast checker → · Palette generator →

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