#400F33#400F33

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

Color values

HEX#400F33
RGBrgb(64, 15, 51)
HSLhsl(316, 62%, 15%)
HSVhsv(316, 77%, 25%)
CMYKcmyk(0%, 76.6%, 20.3%, 74.9%)
CIE-LABlab(13.66, 28.10, -11.24)
CIE-LCHlch(13.66, 30.27, 338.20°)
OKLaboklab(26.74% 0.0836 -0.0303)
OKLCHoklch(26.74% 0.089 340.1)
XYZxyz(2.8828, 1.6709, 3.3020)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F33 #0F401C
analogous
#340F40 #400F33 #400F1B
triadic
#400F33 #33400F #0F3340
tetradic
#400F33 #40340F #0F401C #0F1B40
square
#400F33 #40340F #0F401C #0F1B40
split-complementary
#400F33 #1B400F #0F4034
monochromatic
#190614 #190614 #400F33 #721B5B #A32682

Accessibility & contrast

On white

15.74
#400F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F33
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F33#FFFFFF#000000##FFFFFF
##400F331.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121E34
Deuteranopia (green-blind)
#212632
Tritanopia (blue-blind)
#44101F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #400f33;
/* rgb */ color: rgb(64, 15, 51);
/* oklch */ color: oklch(26.7% 0.089 340.1);
Tailwind
colors: {
  custom: {
    50: '#77526a',
    500: '#400f33',
    950: '#000000',
  },
}
SCSS
$custom: #400f33;
$custom-light: #77526a;
$custom-dark: #000000;
JSON
{
  "hex": "#400f33",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 315.918,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26736,
    "c": 0.08891,
    "h": 340.1
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#400F33
secondary
#307A44
accent
#E56E43
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400F33

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

Preview Lab → · Contrast checker → · Palette generator →

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