#400733#400733

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

Color values

HEX#400733
RGBrgb(64, 7, 51)
HSLhsl(314, 80%, 14%)
HSVhsv(314, 89%, 25%)
CMYKcmyk(0%, 89.1%, 20.3%, 74.9%)
CIE-LABlab(12.49, 31.41, -13.05)
CIE-LCHlch(12.49, 34.01, 337.43°)
OKLaboklab(25.89% 0.0936 -0.0353)
OKLCHoklch(25.89% 0.1 339.3)
XYZxyz(2.7879, 1.4812, 3.2704)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400733 #074014
analogous
#310740 #400733 #400717
triadic
#400733 #334007 #073340
tetradic
#400733 #403107 #074014 #071740
square
#400733 #403107 #074014 #071740
split-complementary
#400733 #174007 #074031
monochromatic
#1C0316 #1C0316 #400733 #770D5F #AE138B

Accessibility & contrast

On white

16.20
#400733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400733
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400733#FFFFFF#000000##FFFFFF
##4007331.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1B34
Deuteranopia (green-blind)
#1E2432
Tritanopia (blue-blind)
#44091C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400733;
/* rgb */ color: rgb(64, 7, 51);
/* oklch */ color: oklch(25.9% 0.100 339.3);
Tailwind
colors: {
  custom: {
    50: '#774e6a',
    500: '#400733',
    950: '#000000',
  },
}
SCSS
$custom: #400733;
$custom-light: #774e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400733",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 313.684,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2589,
    "c": 0.10003,
    "h": 339.3
  },
  "luminance": 0.01481
}

Semantic roles & 50–950 ramp

primary
#400733
secondary
#247F39
accent
#F75E31
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400733

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

Preview Lab → · Contrast checker → · Palette generator →

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