#400B30#400B30

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

Color values

HEX#400B30
RGBrgb(64, 11, 48)
HSLhsl(318, 71%, 15%)
HSVhsv(318, 83%, 25%)
CMYKcmyk(0%, 82.8%, 25%, 74.9%)
CIE-LABlab(12.88, 29.35, -10.26)
CIE-LCHlch(12.88, 31.09, 340.72°)
OKLaboklab(26.12% 0.0883 -0.0275)
OKLCHoklch(26.12% 0.092 342.7)
XYZxyz(2.7676, 1.5430, 2.9478)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B30 #0B401B
analogous
#360B40 #400B30 #400B16
triadic
#400B30 #30400B #0B3040
tetradic
#400B30 #40360B #0B401B #0B1640
square
#400B30 #40360B #0B401B #0B1640
split-complementary
#400B30 #16400B #0B4036
monochromatic
#1A0414 #1A0414 #400B30 #741457 #A81D7E

Accessibility & contrast

On white

16.05
#400B30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#400B30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B30
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B30#FFFFFF#000000##FFFFFF
##400B301.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101C31
Deuteranopia (green-blind)
#21242F
Tritanopia (blue-blind)
#450B1C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b30;
/* rgb */ color: rgb(64, 11, 48);
/* oklch */ color: oklch(26.1% 0.092 342.7);
Tailwind
colors: {
  custom: {
    50: '#775068',
    500: '#400b30',
    950: '#000000',
  },
}
SCSS
$custom: #400b30;
$custom-light: #775068;
$custom-dark: #000000;
JSON
{
  "hex": "#400b30",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 48
  },
  "hsl": {
    "h": 318.113,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2612,
    "c": 0.09244,
    "h": 342.7
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#400B30
secondary
#2A7D43
accent
#ED703A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400B30

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

Preview Lab → · Contrast checker → · Palette generator →

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