#400B23#400B23

#400B23 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.5% C 0.084 H 357.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#400B23
RGBrgb(64, 11, 35)
HSLhsl(333, 71%, 15%)
HSVhsv(333, 83%, 25%)
CMYKcmyk(0%, 82.8%, 45.3%, 74.9%)
CIE-LABlab(12.29, 27.49, -1.56)
CIE-LCHlch(12.29, 27.53, 356.75°)
OKLaboklab(25.5% 0.0844 -0.0037)
OKLCHoklch(25.5% 0.084 357.5)
XYZxyz(2.5376, 1.4510, 1.7362)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B23 #0B4028
analogous
#400B3E #400B23 #400D0B
triadic
#400B23 #23400B #0B2340
tetradic
#400B23 #3E400B #0B4028 #0D0B40
square
#400B23 #3E400B #0B4028 #0D0B40
split-complementary
#400B23 #0B400D #0B3E40
monochromatic
#1A040E #1A040E #400B23 #741440 #A81D5C

Accessibility & contrast

On white

16.28
#400B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400B23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400B23
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B23#FFFFFF#000000##FFFFFF
##400B231.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161A24
Deuteranopia (green-blind)
#242422
Tritanopia (blue-blind)
#460515
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b23;
/* rgb */ color: rgb(64, 11, 35);
/* oklch */ color: oklch(25.5% 0.084 357.5);
Tailwind
colors: {
  custom: {
    50: '#784f5d',
    500: '#400b23',
    950: '#000000',
  },
}
SCSS
$custom: #400b23;
$custom-light: #784f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#400b23",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 35
  },
  "hsl": {
    "h": 332.83,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.255,
    "c": 0.08444,
    "h": 357.5
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#400B23
secondary
#2A7D57
accent
#ED9C3A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400B23

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

Preview Lab → · Contrast checker → · Palette generator →

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