#400333#400333

#400333 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.5% C 0.106 H 339.0°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#400333
RGBrgb(64, 3, 51)
HSLhsl(313, 91%, 13%)
HSVhsv(313, 95%, 25%)
CMYKcmyk(0%, 95.3%, 20.3%, 74.9%)
CIE-LABlab(11.92, 33.05, -13.94)
CIE-LCHlch(11.92, 35.87, 337.13°)
OKLaboklab(25.48% 0.0986 -0.0378)
OKLCHoklch(25.48% 0.106 339)
XYZxyz(2.7445, 1.3944, 3.2559)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400333 #034010
analogous
#2E0340 #400333 #400314
triadic
#400333 #334003 #033340
tetradic
#400333 #402E03 #034010 #031440
square
#400333 #402E03 #034010 #031440
split-complementary
#400333 #144003 #03402E
monochromatic
#1D0117 #1D0117 #400333 #7A0662 #B50890

Accessibility & contrast

On white

16.42
#400333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400333
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400333#FFFFFF#000000##FFFFFF
##4003331.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071934
Deuteranopia (green-blind)
#1D2332
Tritanopia (blue-blind)
#44061B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400333;
/* rgb */ color: rgb(64, 3, 51);
/* oklch */ color: oklch(25.5% 0.106 339.0);
Tailwind
colors: {
  custom: {
    50: '#784d6a',
    500: '#400333',
    950: '#000000',
  },
}
SCSS
$custom: #400333;
$custom-light: #784d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400333",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 312.787,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25482,
    "c": 0.10557,
    "h": 339
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#400333
secondary
#1D8232
accent
#FF5629
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400333

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

Preview Lab → · Contrast checker → · Palette generator →

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