#400E20#400E20

#400E20 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.079 H 2.5°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#400E20
RGBrgb(64, 14, 32)
HSLhsl(338, 64%, 15%)
HSVhsv(338, 78%, 25%)
CMYKcmyk(0%, 78.1%, 50%, 74.9%)
CIE-LABlab(12.66, 25.79, 1.22)
CIE-LCHlch(12.66, 25.82, 2.71°)
OKLaboklab(25.74% 0.0789 0.0034)
OKLCHoklch(25.74% 0.079 2.5)
XYZxyz(2.5323, 1.5087, 1.5241)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E20 #0E402E
analogous
#400E39 #400E20 #40150E
triadic
#400E20 #20400E #0E2040
tetradic
#400E20 #39400E #0E402E #150E40
square
#400E20 #39400E #0E402E #150E40
split-complementary
#400E20 #0E4015 #0E3940
monochromatic
#19050D #19050D #400E20 #721939 #A42452

Accessibility & contrast

On white

16.13
#400E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#400E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E20
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E20#FFFFFF#000000##FFFFFF
##400E201.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191B20
Deuteranopia (green-blind)
#26241F
Tritanopia (blue-blind)
#460715
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400e20;
/* rgb */ color: rgb(64, 14, 32);
/* oklch */ color: oklch(25.7% 0.079 2.5);
Tailwind
colors: {
  custom: {
    50: '#78515b',
    500: '#400e20',
    950: '#000000',
  },
}
SCSS
$custom: #400e20;
$custom-light: #78515b;
$custom-dark: #000000;
JSON
{
  "hex": "#400e20",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 32
  },
  "hsl": {
    "h": 338.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25737,
    "c": 0.07897,
    "h": 2.5
  },
  "luminance": 0.01508
}

Semantic roles & 50–950 ramp

primary
#400E20
secondary
#2F7B60
accent
#E7AB41
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400E20

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

Preview Lab → · Contrast checker → · Palette generator →

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