#401124#401124

#401124 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.076 H 358.7°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#401124
RGBrgb(64, 17, 36)
HSLhsl(336, 58%, 16%)
HSVhsv(336, 73%, 25%)
CMYKcmyk(0%, 73.4%, 43.8%, 74.9%)
CIE-LABlab(13.34, 24.82, -0.76)
CIE-LCHlch(13.34, 24.83, 358.26°)
OKLaboklab(26.29% 0.0759 -0.0017)
OKLCHoklch(26.29% 0.076 358.7)
XYZxyz(2.6334, 1.6186, 1.8425)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401124 #11402D
analogous
#40113B #401124 #401511
triadic
#401124 #244011 #112440
tetradic
#401124 #3B4011 #11402D #151140
square
#401124 #3B4011 #11402D #151140
split-complementary
#401124 #114015 #113B40
monochromatic
#18060E #18060E #401124 #701E3F #A12B5A

Accessibility & contrast

On white

15.87
#401124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401124
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401124#FFFFFF#000000##FFFFFF
##4011241.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1D25
Deuteranopia (green-blind)
#262623
Tritanopia (blue-blind)
#460C19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401124;
/* rgb */ color: rgb(64, 17, 36);
/* oklch */ color: oklch(26.3% 0.076 358.7);
Tailwind
colors: {
  custom: {
    50: '#77525e',
    500: '#401124',
    950: '#000000',
  },
}
SCSS
$custom: #401124;
$custom-light: #77525e;
$custom-dark: #000000;
JSON
{
  "hex": "#401124",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 335.745,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26287,
    "c": 0.07592,
    "h": 358.7
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#401124
secondary
#33795D
accent
#E1A347
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401124

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

Preview Lab → · Contrast checker → · Palette generator →

#401124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva