#400735#400735

#400735 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.102 H 337.4°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#400735
RGBrgb(64, 7, 53)
HSLhsl(312, 80%, 14%)
HSVhsv(312, 89%, 25%)
CMYKcmyk(0%, 89.1%, 17.2%, 74.9%)
CIE-LABlab(12.60, 31.74, -14.32)
CIE-LCHlch(12.60, 34.82, 335.71°)
OKLaboklab(26.01% 0.0938 -0.039)
OKLCHoklch(26.01% 0.102 337.4)
XYZxyz(2.8330, 1.4993, 3.5077)
Luminance0.0150 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400735 #074012
analogous
#2F0740 #400735 #400719
triadic
#400735 #354007 #073540
tetradic
#400735 #402F07 #074012 #071940
square
#400735 #402F07 #074012 #071940
split-complementary
#400735 #194007 #07402F
monochromatic
#1C0317 #1C0317 #400735 #770D63 #AE1390

Accessibility & contrast

On white

16.16
#400735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400735
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400735#FFFFFF#000000##FFFFFF
##4007351.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#1D2434
Tritanopia (blue-blind)
#440B1D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400735;
/* rgb */ color: rgb(64, 7, 53);
/* oklch */ color: oklch(26.0% 0.102 337.4);
Tailwind
colors: {
  custom: {
    50: '#774e6c',
    500: '#400735',
    950: '#000000',
  },
}
SCSS
$custom: #400735;
$custom-light: #774e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#400735",
  "rgb": {
    "r": 64,
    "g": 7,
    "b": 53
  },
  "hsl": {
    "h": 311.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2601,
    "c": 0.10158,
    "h": 337.4
  },
  "luminance": 0.01499
}

Semantic roles & 50–950 ramp

primary
#400735
secondary
#247F35
accent
#F75731
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #400735

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

Preview Lab → · Contrast checker → · Palette generator →

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