#400314#400314

#400314 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.091 H 11.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#400314
RGBrgb(64, 3, 20)
HSLhsl(343, 91%, 13%)
HSVhsv(343, 95%, 25%)
CMYKcmyk(0%, 95.3%, 68.8%, 74.9%)
CIE-LABlab(10.60, 29.40, 7.20)
CIE-LCHlch(10.60, 30.27, 13.75°)
OKLaboklab(24.1% 0.0889 0.0182)
OKLCHoklch(24.1% 0.091 11.6)
XYZxyz(2.2734, 1.2060, 0.7748)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400314 #03402F
analogous
#400332 #400314 #401003
triadic
#400314 #144003 #031440
tetradic
#400314 #324003 #03402F #100340
square
#400314 #324003 #03402F #100340
split-complementary
#400314 #034010 #033240
monochromatic
#1D0109 #1D0109 #400314 #7A0626 #B50839

Accessibility & contrast

On white

16.92
#400314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#400314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400314
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400314#FFFFFF#000000##FFFFFF
##4003141.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151514
Deuteranopia (green-blind)
#242112
Tritanopia (blue-blind)
#47000A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #400314;
/* rgb */ color: rgb(64, 3, 20);
/* oklch */ color: oklch(24.1% 0.091 11.6);
Tailwind
colors: {
  custom: {
    50: '#7a4b51',
    500: '#400314',
    950: '#000000',
  },
}
SCSS
$custom: #400314;
$custom-light: #7a4b51;
$custom-dark: #000000;
JSON
{
  "hex": "#400314",
  "rgb": {
    "r": 64,
    "g": 3,
    "b": 20
  },
  "hsl": {
    "h": 343.279,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24097,
    "c": 0.09071,
    "h": 11.6
  },
  "luminance": 0.01206
}

Semantic roles & 50–950 ramp

primary
#400314
secondary
#1D8266
accent
#FFC329
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#0A0102
muted
#7C7778

Preview Lab

Preview with #400314

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

Preview Lab → · Contrast checker → · Palette generator →

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