#400D30#400D30

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

Color values

HEX#400D30
RGBrgb(64, 13, 48)
HSLhsl(319, 66%, 15%)
HSVhsv(319, 80%, 25%)
CMYKcmyk(0%, 79.7%, 25%, 74.9%)
CIE-LABlab(13.18, 28.50, -9.80)
CIE-LCHlch(13.18, 30.14, 341.02°)
OKLaboklab(26.34% 0.0857 -0.0262)
OKLCHoklch(26.34% 0.09 343)
XYZxyz(2.7919, 1.5915, 2.9559)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400D30 #0D401D
analogous
#370D40 #400D30 #400D16
triadic
#400D30 #30400D #0D3040
tetradic
#400D30 #40370D #0D401D #0D1640
square
#400D30 #40370D #0D401D #0D1640
split-complementary
#400D30 #16400D #0D4037
monochromatic
#190513 #190513 #400D30 #731756 #A6227C

Accessibility & contrast

On white

15.93
#400D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400D30
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400D30#FFFFFF#000000##FFFFFF
##400D301.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121D31
Deuteranopia (green-blind)
#21252F
Tritanopia (blue-blind)
#450D1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400d30;
/* rgb */ color: rgb(64, 13, 48);
/* oklch */ color: oklch(26.3% 0.090 343.0);
Tailwind
colors: {
  custom: {
    50: '#775168',
    500: '#400d30',
    950: '#000000',
  },
}
SCSS
$custom: #400d30;
$custom-light: #775168;
$custom-dark: #000000;
JSON
{
  "hex": "#400d30",
  "rgb": {
    "r": 64,
    "g": 13,
    "b": 48
  },
  "hsl": {
    "h": 318.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26337,
    "c": 0.0896,
    "h": 343
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#400D30
secondary
#2D7C46
accent
#E9743F
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400D30

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

Preview Lab → · Contrast checker → · Palette generator →

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