#400F32#400F32

#400F32 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.088 H 341.1°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#400F32
RGBrgb(64, 15, 50)
HSLhsl(317, 62%, 15%)
HSVhsv(317, 77%, 25%)
CMYKcmyk(0%, 76.6%, 21.9%, 74.9%)
CIE-LABlab(13.60, 27.93, -10.60)
CIE-LCHlch(13.60, 29.87, 339.23°)
OKLaboklab(26.68% 0.0834 -0.0285)
OKLCHoklch(26.68% 0.088 341.1)
XYZxyz(2.8610, 1.6622, 3.1872)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F32 #0F401D
analogous
#350F40 #400F32 #400F19
triadic
#400F32 #32400F #0F3240
tetradic
#400F32 #40350F #0F401D #0F1940
square
#400F32 #40350F #0F401D #0F1940
split-complementary
#400F32 #19400F #0F4035
monochromatic
#190613 #190613 #400F32 #721B59 #A3267F

Accessibility & contrast

On white

15.76
#400F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#400F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400F32
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F32#FFFFFF#000000##FFFFFF
##400F321.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E33
Deuteranopia (green-blind)
#222631
Tritanopia (blue-blind)
#44101E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400f32;
/* rgb */ color: rgb(64, 15, 50);
/* oklch */ color: oklch(26.7% 0.088 341.1);
Tailwind
colors: {
  custom: {
    50: '#77526a',
    500: '#400f32',
    950: '#000000',
  },
}
SCSS
$custom: #400f32;
$custom-light: #77526a;
$custom-dark: #000000;
JSON
{
  "hex": "#400f32",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 317.143,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26681,
    "c": 0.0881,
    "h": 341.1
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#400F32
secondary
#307A46
accent
#E57143
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400F32

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

Preview Lab → · Contrast checker → · Palette generator →

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