#401836#401836

#401836 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.2% C 0.076 H 338.1°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#401836
RGBrgb(64, 24, 54)
HSLhsl(315, 45%, 17%)
HSVhsv(315, 63%, 25%)
CMYKcmyk(0%, 62.5%, 15.6%, 74.9%)
CIE-LABlab(15.54, 23.93, -10.48)
CIE-LCHlch(15.54, 26.12, 336.34°)
OKLaboklab(28.17% 0.0702 -0.0282)
OKLCHoklch(28.17% 0.076 338.1)
XYZxyz(3.1069, 2.0098, 3.7136)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401836 #184022
analogous
#361840 #401836 #401822
triadic
#401836 #364018 #183640
tetradic
#401836 #403618 #184022 #182240
square
#401836 #403618 #184022 #182240
split-complementary
#401836 #224018 #184036
monochromatic
#160813 #160813 #401836 #6D295C #993981

Accessibility & contrast

On white

14.98
#401836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401836
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401836#FFFFFF#000000##FFFFFF
##4018361.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192337
Deuteranopia (green-blind)
#252935
Tritanopia (blue-blind)
#441924
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #401836;
/* rgb */ color: rgb(64, 24, 54);
/* oklch */ color: oklch(28.2% 0.076 338.1);
Tailwind
colors: {
  custom: {
    50: '#76576d',
    500: '#401836',
    950: '#000000',
  },
}
SCSS
$custom: #401836;
$custom-light: #76576d;
$custom-dark: #000000;
JSON
{
  "hex": "#401836",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 315,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28169,
    "c": 0.07566,
    "h": 338.1
  },
  "luminance": 0.0201
}

Semantic roles & 50–950 ramp

primary
#401836
secondary
#3D774C
accent
#D57353
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090307
muted
#7B787A

Preview Lab

Preview with #401836

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

Preview Lab → · Contrast checker → · Palette generator →

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