#400F24#400F24

#400F24 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.0% C 0.079 H 357.8°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#400F24
RGBrgb(64, 15, 36)
HSLhsl(334, 62%, 15%)
HSVhsv(334, 77%, 25%)
CMYKcmyk(0%, 76.6%, 43.8%, 74.9%)
CIE-LABlab(12.98, 25.81, -1.29)
CIE-LCHlch(12.98, 25.85, 357.14°)
OKLaboklab(26.02% 0.079 -0.0031)
OKLCHoklch(26.02% 0.079 357.8)
XYZxyz(2.6038, 1.5593, 1.8326)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400F24 #0F402B
analogous
#400F3C #400F24 #40130F
triadic
#400F24 #24400F #0F2440
tetradic
#400F24 #3C400F #0F402B #130F40
square
#400F24 #3C400F #0F402B #130F40
split-complementary
#400F24 #0F4013 #0F3C40
monochromatic
#19060E #19060E #400F24 #721B40 #A3265C

Accessibility & contrast

On white

16.01
#400F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #400F24
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400F24#FFFFFF#000000##FFFFFF
##400F241.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C25
Deuteranopia (green-blind)
#252523
Tritanopia (blue-blind)
#460A18
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #400f24;
/* rgb */ color: rgb(64, 15, 36);
/* oklch */ color: oklch(26.0% 0.079 357.8);
Tailwind
colors: {
  custom: {
    50: '#78515e',
    500: '#400f24',
    950: '#000000',
  },
}
SCSS
$custom: #400f24;
$custom-light: #78515e;
$custom-dark: #000000;
JSON
{
  "hex": "#400f24",
  "rgb": {
    "r": 64,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 334.286,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26019,
    "c": 0.07909,
    "h": 357.8
  },
  "luminance": 0.01559
}

Semantic roles & 50–950 ramp

primary
#400F24
secondary
#307A5B
accent
#E5A043
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #400F24

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

Preview Lab → · Contrast checker → · Palette generator →

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