#400B25#400B25

#400B25 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.085 H 355.0°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#400B25
RGBrgb(64, 11, 37)
HSLhsl(331, 71%, 15%)
HSVhsv(331, 83%, 25%)
CMYKcmyk(0%, 82.8%, 42.2%, 74.9%)
CIE-LABlab(12.37, 27.74, -2.93)
CIE-LCHlch(12.37, 27.90, 353.97°)
OKLaboklab(25.58% 0.0851 -0.0074)
OKLCHoklch(25.58% 0.085 355)
XYZxyz(2.5681, 1.4632, 1.8971)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400B25 #0B4026
analogous
#400B40 #400B25 #400B0B
triadic
#400B25 #25400B #0B2540
tetradic
#400B25 #40400B #0B4026 #0B0B40
square
#400B25 #40400B #0B4026 #0B0B40
split-complementary
#400B25 #0B400B #0B4040
monochromatic
#1A040F #1A040F #400B25 #741443 #A81D61

Accessibility & contrast

On white

16.25
#400B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400B25
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400B25#FFFFFF#000000##FFFFFF
##400B251.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151A26
Deuteranopia (green-blind)
#242424
Tritanopia (blue-blind)
#460616
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400b25;
/* rgb */ color: rgb(64, 11, 37);
/* oklch */ color: oklch(25.6% 0.085 355.0);
Tailwind
colors: {
  custom: {
    50: '#784f5f',
    500: '#400b25',
    950: '#000000',
  },
}
SCSS
$custom: #400b25;
$custom-light: #784f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#400b25",
  "rgb": {
    "r": 64,
    "g": 11,
    "b": 37
  },
  "hsl": {
    "h": 330.566,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25584,
    "c": 0.08542,
    "h": 355
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#400B25
secondary
#2A7D54
accent
#ED963A
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400B25

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

Preview Lab → · Contrast checker → · Palette generator →

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