#400E2D#400E2D

#400E2D is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.086 H 346.5°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#400E2D
RGBrgb(64, 14, 45)
HSLhsl(323, 64%, 15%)
HSVhsv(323, 78%, 25%)
CMYKcmyk(0%, 78.1%, 29.7%, 74.9%)
CIE-LABlab(13.19, 27.58, -7.59)
CIE-LCHlch(13.19, 28.61, 344.61°)
OKLaboklab(26.3% 0.0835 -0.0201)
OKLCHoklch(26.3% 0.086 346.5)
XYZxyz(2.7452, 1.5938, 2.6452)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400E2D #0E4021
analogous
#3A0E40 #400E2D #400E14
triadic
#400E2D #2D400E #0E2D40
tetradic
#400E2D #403A0E #0E4021 #0E1440
square
#400E2D #403A0E #0E4021 #0E1440
split-complementary
#400E2D #14400E #0E403A
monochromatic
#190512 #190512 #400E2D #721950 #A42474

Accessibility & contrast

On white

15.92
#400E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#400E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400E2D
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400E2D#FFFFFF#000000##FFFFFF
##400E2D1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141C2E
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#450D1B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400e2d;
/* rgb */ color: rgb(64, 14, 45);
/* oklch */ color: oklch(26.3% 0.086 346.5);
Tailwind
colors: {
  custom: {
    50: '#775165',
    500: '#400e2d',
    950: '#000000',
  },
}
SCSS
$custom: #400e2d;
$custom-light: #775165;
$custom-dark: #000000;
JSON
{
  "hex": "#400e2d",
  "rgb": {
    "r": 64,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 322.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.263,
    "c": 0.08592,
    "h": 346.5
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#400E2D
secondary
#2F7B4C
accent
#E78041
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #400E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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