#400630#400630

#400630 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.6% C 0.099 H 342.1°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#400630
RGBrgb(64, 6, 48)
HSLhsl(317, 83%, 14%)
HSVhsv(317, 91%, 25%)
CMYKcmyk(0%, 90.6%, 25%, 74.9%)
CIE-LABlab(12.18, 31.34, -11.34)
CIE-LCHlch(12.18, 33.33, 340.10°)
OKLaboklab(25.62% 0.0944 -0.0305)
OKLCHoklch(25.62% 0.099 342.1)
XYZxyz(2.7131, 1.4339, 2.9296)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400630 #064016
analogous
#330640 #400630 #400613
triadic
#400630 #304006 #063040
tetradic
#400630 #403306 #064016 #061340
square
#400630 #403306 #064016 #061340
split-complementary
#400630 #134006 #064033
monochromatic
#1C0315 #1C0315 #400630 #780B5A #B01084

Accessibility & contrast

On white

16.32
#400630 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400630
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400630#FFFFFF#000000##FFFFFF
##4006301.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A31
Deuteranopia (green-blind)
#1F232F
Tritanopia (blue-blind)
#45071A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400630;
/* rgb */ color: rgb(64, 6, 48);
/* oklch */ color: oklch(25.6% 0.099 342.1);
Tailwind
colors: {
  custom: {
    50: '#784e68',
    500: '#400630',
    950: '#000000',
  },
}
SCSS
$custom: #400630;
$custom-light: #784e68;
$custom-dark: #000000;
JSON
{
  "hex": "#400630",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 48
  },
  "hsl": {
    "h": 316.552,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25615,
    "c": 0.09916,
    "h": 342.1
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#400630
secondary
#22803C
accent
#F9662F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400630

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

Preview Lab → · Contrast checker → · Palette generator →

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