#400A2D#400A2D

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

Color values

HEX#400A2D
RGBrgb(64, 10, 45)
HSLhsl(321, 73%, 15%)
HSVhsv(321, 84%, 25%)
CMYKcmyk(0%, 84.4%, 29.7%, 74.9%)
CIE-LABlab(12.59, 29.28, -8.52)
CIE-LCHlch(12.59, 30.49, 343.78°)
OKLaboklab(25.86% 0.0888 -0.0226)
OKLCHoklch(25.86% 0.092 345.7)
XYZxyz(2.6967, 1.4968, 2.6290)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A2D #0A401D
analogous
#380A40 #400A2D #400A12
triadic
#400A2D #2D400A #0A2D40
tetradic
#400A2D #40380A #0A401D #0A1240
square
#400A2D #40380A #0A401D #0A1240
split-complementary
#400A2D #12400A #0A4038
monochromatic
#1A0413 #1A0413 #400A2D #751252 #AA1B77

Accessibility & contrast

On white

16.16
#400A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A2D
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A2D#FFFFFF#000000##FFFFFF
##400A2D1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111B2E
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#45091A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400a2d;
/* rgb */ color: rgb(64, 10, 45);
/* oklch */ color: oklch(25.9% 0.092 345.7);
Tailwind
colors: {
  custom: {
    50: '#774f66',
    500: '#400a2d',
    950: '#000000',
  },
}
SCSS
$custom: #400a2d;
$custom-light: #774f66;
$custom-dark: #000000;
JSON
{
  "hex": "#400a2d",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 321.111,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25859,
    "c": 0.09162,
    "h": 345.7
  },
  "luminance": 0.01497
}

Semantic roles & 50–950 ramp

primary
#400A2D
secondary
#297D46
accent
#F07938
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #400A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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