#400E24#400E24

#400E24 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.081 H 357.4°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#400E24
RGBrgb(64, 14, 36)
HSLhsl(334, 64%, 15%)
HSVhsv(334, 78%, 25%)
CMYKcmyk(0%, 78.1%, 43.8%, 74.9%)
CIE-LABlab(12.81, 26.29, -1.54)
CIE-LCHlch(12.81, 26.33, 356.64°)
OKLaboklab(25.89% 0.0805 -0.0037)
OKLCHoklch(25.89% 0.081 357.4)
XYZxyz(2.5900, 1.5317, 1.8280)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E24 #0E402A
analogous
#400E3D #400E24 #40110E
triadic
#400E24 #24400E #0E2440
tetradic
#400E24 #3D400E #0E402A #110E40
square
#400E24 #3D400E #0E402A #110E40
split-complementary
#400E24 #0E4011 #0E3D40
monochromatic
#19050E #19050E #400E24 #721940 #A4245C

Accessibility & contrast

On white

16.08
#400E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400E24
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E24#FFFFFF#000000##FFFFFF
##400E241.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171B25
Deuteranopia (green-blind)
#252523
Tritanopia (blue-blind)
#460917
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e24;
/* rgb */ color: rgb(64, 14, 36);
/* oklch */ color: oklch(25.9% 0.081 357.4);
Tailwind
colors: {
  custom: {
    50: '#78515e',
    500: '#400e24',
    950: '#000000',
  },
}
SCSS
$custom: #400e24;
$custom-light: #78515e;
$custom-dark: #000000;
JSON
{
  "hex": "#400e24",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 36
  },
  "hsl": {
    "h": 333.6,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25892,
    "c": 0.08062,
    "h": 357.4
  },
  "luminance": 0.01531
}

Semantic roles & 50–950 ramp

primary
#400E24
secondary
#2F7B59
accent
#E79E41
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E24

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

Preview Lab → · Contrast checker → · Palette generator →

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