#400627#400627

#400627 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.1% C 0.093 H 351.4°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#400627
RGBrgb(64, 6, 39)
HSLhsl(326, 83%, 14%)
HSVhsv(326, 91%, 25%)
CMYKcmyk(0%, 90.6%, 39.1%, 74.9%)
CIE-LABlab(11.74, 30.05, -5.38)
CIE-LCHlch(11.74, 30.52, 349.86°)
OKLaboklab(25.15% 0.0922 -0.0139)
OKLCHoklch(25.15% 0.093 351.4)
XYZxyz(2.5458, 1.3670, 2.0489)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400627 #06401F
analogous
#3C0640 #400627 #40060A
triadic
#400627 #274006 #062740
tetradic
#400627 #403C06 #06401F #060A40
square
#400627 #403C06 #06401F #060A40
split-complementary
#400627 #0A4006 #06403C
monochromatic
#1C0311 #1C0311 #400627 #780B49 #B0106B

Accessibility & contrast

On white

16.49
#400627 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#400627 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400627
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400627#FFFFFF#000000##FFFFFF
##4006271.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#222326
Tritanopia (blue-blind)
#460215
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #400627;
/* rgb */ color: rgb(64, 6, 39);
/* oklch */ color: oklch(25.1% 0.093 351.4);
Tailwind
colors: {
  custom: {
    50: '#784d61',
    500: '#400627',
    950: '#000000',
  },
}
SCSS
$custom: #400627;
$custom-light: #784d61;
$custom-dark: #000000;
JSON
{
  "hex": "#400627",
  "rgb": {
    "r": 64,
    "g": 6,
    "b": 39
  },
  "hsl": {
    "h": 325.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25147,
    "c": 0.09328,
    "h": 351.4
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#400627
secondary
#22804A
accent
#F9862F
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #400627

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

Preview Lab → · Contrast checker → · Palette generator →

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