#400730#400730

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

Color values

HEX#400730
RGBrgb(64, 7, 48)
HSLhsl(317, 80%, 14%)
HSVhsv(317, 89%, 25%)
CMYKcmyk(0%, 89.1%, 25%, 74.9%)
CIE-LABlab(12.32, 30.93, -11.12)
CIE-LCHlch(12.32, 32.87, 340.22°)
OKLaboklab(25.72% 0.0931 -0.0299)
OKLCHoklch(25.72% 0.098 342.2)
XYZxyz(2.7239, 1.4556, 2.9332)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400730 #074017
analogous
#340740 #400730 #400714
triadic
#400730 #304007 #073040
tetradic
#400730 #403407 #074017 #071440
square
#400730 #403407 #074017 #071440
split-complementary
#400730 #144007 #074034
monochromatic
#1C0315 #1C0315 #400730 #770D59 #AE1383

Accessibility & contrast

On white

16.27
#400730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400730
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400730#FFFFFF#000000##FFFFFF
##4007301.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A31
Deuteranopia (green-blind)
#1F232F
Tritanopia (blue-blind)
#45081B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400730;
/* rgb */ color: rgb(64, 7, 48);
/* oklch */ color: oklch(25.7% 0.098 342.2);
Tailwind
colors: {
  custom: {
    50: '#784e68',
    500: '#400730',
    950: '#000000',
  },
}
SCSS
$custom: #400730;
$custom-light: #784e68;
$custom-dark: #000000;
JSON
{
  "hex": "#400730",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 316.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.09779,
    "h": 342.2
  },
  "luminance": 0.01455
}

Semantic roles & 50–950 ramp

primary
#400730
secondary
#247F3D
accent
#F76931
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400730

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

Preview Lab → · Contrast checker → · Palette generator →

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