#400330#400330

#400330 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.103 H 341.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#400330
RGBrgb(64, 3, 48)
HSLhsl(316, 91%, 13%)
HSVhsv(316, 95%, 25%)
CMYKcmyk(0%, 95.3%, 25%, 74.9%)
CIE-LABlab(11.75, 32.59, -12.01)
CIE-LCHlch(11.75, 34.73, 339.76°)
OKLaboklab(25.3% 0.0982 -0.0324)
OKLCHoklch(25.3% 0.103 341.8)
XYZxyz(2.6805, 1.3688, 2.9188)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400330 #034013
analogous
#310340 #400330 #400311
triadic
#400330 #304003 #033040
tetradic
#400330 #403103 #034013 #031140
square
#400330 #403103 #034013 #031140
split-complementary
#400330 #114003 #034031
monochromatic
#1D0116 #1D0116 #400330 #7A065C #B50888

Accessibility & contrast

On white

16.49
#400330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400330
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400330#FFFFFF#000000##FFFFFF
##4003301.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091931
Deuteranopia (green-blind)
#1E222F
Tritanopia (blue-blind)
#450419
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400330;
/* rgb */ color: rgb(64, 3, 48);
/* oklch */ color: oklch(25.3% 0.103 341.8);
Tailwind
colors: {
  custom: {
    50: '#784c68',
    500: '#400330',
    950: '#000000',
  },
}
SCSS
$custom: #400330;
$custom-light: #784c68;
$custom-dark: #000000;
JSON
{
  "hex": "#400330",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 315.738,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25304,
    "c": 0.1034,
    "h": 341.8
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#400330
secondary
#1D8237
accent
#FF6129
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090106
muted
#7B777A

Preview Lab

Preview with #400330

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

Preview Lab → · Contrast checker → · Palette generator →

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