#400E28#400E28

#400E28 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.083 H 352.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#400E28
RGBrgb(64, 14, 40)
HSLhsl(329, 64%, 15%)
HSVhsv(329, 78%, 25%)
CMYKcmyk(0%, 78.1%, 37.5%, 74.9%)
CIE-LABlab(12.97, 26.83, -4.26)
CIE-LCHlch(12.97, 27.17, 350.98°)
OKLaboklab(26.06% 0.082 -0.011)
OKLCHoklch(26.06% 0.083 352.4)
XYZxyz(2.6545, 1.5576, 2.1679)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E28 #0E4026
analogous
#3F0E40 #400E28 #400E0F
triadic
#400E28 #28400E #0E2840
tetradic
#400E28 #403F0E #0E4026 #0E0F40
square
#400E28 #403F0E #0E4026 #0E0F40
split-complementary
#400E28 #0F400E #0E403F
monochromatic
#190510 #190510 #400E28 #721947 #A42467

Accessibility & contrast

On white

16.01
#400E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E28
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E28#FFFFFF#000000##FFFFFF
##400E281.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161C29
Deuteranopia (green-blind)
#242527
Tritanopia (blue-blind)
#450B19
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e28;
/* rgb */ color: rgb(64, 14, 40);
/* oklch */ color: oklch(26.1% 0.083 352.4);
Tailwind
colors: {
  custom: {
    50: '#775161',
    500: '#400e28',
    950: '#000000',
  },
}
SCSS
$custom: #400e28;
$custom-light: #775161;
$custom-dark: #000000;
JSON
{
  "hex": "#400e28",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 328.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26063,
    "c": 0.08272,
    "h": 352.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#400E28
secondary
#2F7B53
accent
#E79141
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #400E28

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

Preview Lab → · Contrast checker → · Palette generator →

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