#400A30#400A30

#400A30 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.094 H 342.6°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#400A30
RGBrgb(64, 10, 48)
HSLhsl(318, 73%, 15%)
HSVhsv(318, 84%, 25%)
CMYKcmyk(0%, 84.4%, 25%, 74.9%)
CIE-LABlab(12.74, 29.74, -10.48)
CIE-LCHlch(12.74, 31.53, 340.59°)
OKLaboklab(26.02% 0.0895 -0.0281)
OKLCHoklch(26.02% 0.094 342.6)
XYZxyz(2.7565, 1.5208, 2.9441)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400A30 #0A401A
analogous
#350A40 #400A30 #400A15
triadic
#400A30 #30400A #0A3040
tetradic
#400A30 #40350A #0A401A #0A1540
square
#400A30 #40350A #0A401A #0A1540
split-complementary
#400A30 #15400A #0A4035
monochromatic
#1A0414 #1A0414 #400A30 #751258 #AA1B7F

Accessibility & contrast

On white

16.10
#400A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400A30
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400A30#FFFFFF#000000##FFFFFF
##400A301.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B31
Deuteranopia (green-blind)
#20242F
Tritanopia (blue-blind)
#450A1C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400a30;
/* rgb */ color: rgb(64, 10, 48);
/* oklch */ color: oklch(26.0% 0.094 342.6);
Tailwind
colors: {
  custom: {
    50: '#774f68',
    500: '#400a30',
    950: '#000000',
  },
}
SCSS
$custom: #400a30;
$custom-light: #774f68;
$custom-dark: #000000;
JSON
{
  "hex": "#400a30",
  "rgb": {
    "r": 64,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 317.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26018,
    "c": 0.09378,
    "h": 342.6
  },
  "luminance": 0.0152
}

Semantic roles & 50–950 ramp

primary
#400A30
secondary
#297D42
accent
#F06F38
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400A30

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

Preview Lab → · Contrast checker → · Palette generator →

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