#400B2F#400B2F

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

Color values

HEX#400B2F
RGBrgb(64, 11, 47)
HSLhsl(319, 71%, 15%)
HSVhsv(319, 83%, 25%)
CMYKcmyk(0%, 82.8%, 26.6%, 74.9%)
CIE-LABlab(12.83, 29.19, -9.61)
CIE-LCHlch(12.83, 30.73, 341.77°)
OKLaboklab(26.07% 0.088 -0.0257)
OKLCHoklch(26.07% 0.092 343.7)
XYZxyz(2.7472, 1.5349, 2.8404)
Luminance0.0154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B2F #0B401C
analogous
#370B40 #400B2F #400B15
triadic
#400B2F #2F400B #0B2F40
tetradic
#400B2F #40370B #0B401C #0B1540
square
#400B2F #40370B #0B401C #0B1540
split-complementary
#400B2F #15400B #0B4037
monochromatic
#1A0413 #1A0413 #400B2F #741455 #A81D7C

Accessibility & contrast

On white

16.07
#400B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B2F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B2F#FFFFFF#000000##FFFFFF
##400B2F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C30
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#450B1B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400b2f;
/* rgb */ color: rgb(64, 11, 47);
/* oklch */ color: oklch(26.1% 0.092 343.7);
Tailwind
colors: {
  custom: {
    50: '#775067',
    500: '#400b2f',
    950: '#000000',
  },
}
SCSS
$custom: #400b2f;
$custom-light: #775067;
$custom-dark: #000000;
JSON
{
  "hex": "#400b2f",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 319.245,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26066,
    "c": 0.09171,
    "h": 343.7
  },
  "luminance": 0.01535
}

Semantic roles & 50–950 ramp

primary
#400B2F
secondary
#2A7D45
accent
#ED743A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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