#400E27#400E27

#400E27 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.0% C 0.082 H 353.6°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#400E27
RGBrgb(64, 14, 39)
HSLhsl(330, 64%, 15%)
HSVhsv(330, 78%, 25%)
CMYKcmyk(0%, 78.1%, 39.1%, 74.9%)
CIE-LABlab(12.93, 26.69, -3.58)
CIE-LCHlch(12.93, 26.93, 352.35°)
OKLaboklab(26.02% 0.0816 -0.0091)
OKLCHoklch(26.02% 0.082 353.6)
XYZxyz(2.6378, 1.5509, 2.0795)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E27 #0E4027
analogous
#400E40 #400E27 #400E0E
triadic
#400E27 #27400E #0E2740
tetradic
#400E27 #40400E #0E4027 #0E0E40
square
#400E27 #40400E #0E4027 #0E0E40
split-complementary
#400E27 #0E400E #0E4040
monochromatic
#19050F #19050F #400E27 #721946 #A42464

Accessibility & contrast

On white

16.03
#400E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E27
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E27#FFFFFF#000000##FFFFFF
##400E271.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C28
Deuteranopia (green-blind)
#242526
Tritanopia (blue-blind)
#460A19
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e27;
/* rgb */ color: rgb(64, 14, 39);
/* oklch */ color: oklch(26.0% 0.082 353.6);
Tailwind
colors: {
  custom: {
    50: '#785161',
    500: '#400e27',
    950: '#000000',
  },
}
SCSS
$custom: #400e27;
$custom-light: #785161;
$custom-dark: #000000;
JSON
{
  "hex": "#400e27",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 330,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26019,
    "c": 0.08215,
    "h": 353.6
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#400E27
secondary
#2F7B55
accent
#E79441
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #400E27

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

Preview Lab → · Contrast checker → · Palette generator →

#400E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva