#400B33#400B33

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

Color values

HEX#400B33
RGBrgb(64, 11, 51)
HSLhsl(315, 71%, 15%)
HSVhsv(315, 83%, 25%)
CMYKcmyk(0%, 82.8%, 20.3%, 74.9%)
CIE-LABlab(13.04, 29.84, -12.20)
CIE-LCHlch(13.04, 32.23, 337.77°)
OKLaboklab(26.29% 0.0888 -0.033)
OKLCHoklch(26.29% 0.095 339.6)
XYZxyz(2.8316, 1.5686, 3.2850)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B33 #0B4018
analogous
#330B40 #400B33 #400B19
triadic
#400B33 #33400B #0B3340
tetradic
#400B33 #40330B #0B4018 #0B1940
square
#400B33 #40330B #0B4018 #0B1940
split-complementary
#400B33 #19400B #0B4033
monochromatic
#1A0415 #1A0415 #400B33 #74145D #A81D86

Accessibility & contrast

On white

15.99
#400B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B33
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B33#FFFFFF#000000##FFFFFF
##400B331.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1C34
Deuteranopia (green-blind)
#202532
Tritanopia (blue-blind)
#440D1D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #400b33;
/* rgb */ color: rgb(64, 11, 51);
/* oklch */ color: oklch(26.3% 0.095 339.6);
Tailwind
colors: {
  custom: {
    50: '#77506a',
    500: '#400b33',
    950: '#000000',
  },
}
SCSS
$custom: #400b33;
$custom-light: #77506a;
$custom-dark: #000000;
JSON
{
  "hex": "#400b33",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 51
  },
  "hsl": {
    "h": 314.717,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26287,
    "c": 0.09475,
    "h": 339.6
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#400B33
secondary
#2A7D3E
accent
#ED663A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400B33

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

Preview Lab → · Contrast checker → · Palette generator →

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