#401534#401534

#401534 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.6% C 0.080 H 339.9°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#401534
RGBrgb(64, 21, 52)
HSLhsl(317, 51%, 17%)
HSVhsv(317, 67%, 25%)
CMYKcmyk(0%, 67.2%, 18.8%, 74.9%)
CIE-LABlab(14.81, 25.24, -10.17)
CIE-LCHlch(14.81, 27.21, 338.05°)
OKLaboklab(27.6% 0.0747 -0.0273)
OKLCHoklch(27.6% 0.08 339.9)
XYZxyz(3.0024, 1.8745, 3.4518)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401534 #154021
analogous
#371540 #401534 #40151F
triadic
#401534 #344015 #153440
tetradic
#401534 #403715 #154021 #151F40
square
#401534 #403715 #154021 #151F40
split-complementary
#401534 #1F4015 #154037
monochromatic
#170813 #170813 #401534 #6E2459 #9C337F

Accessibility & contrast

On white

15.27
#401534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401534
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401534#FFFFFF#000000##FFFFFF
##4015341.0015.271.3715.27
#FFFFFF15.271.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172135
Deuteranopia (green-blind)
#242833
Tritanopia (blue-blind)
#441622
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401534;
/* rgb */ color: rgb(64, 21, 52);
/* oklch */ color: oklch(27.6% 0.080 339.9);
Tailwind
colors: {
  custom: {
    50: '#77556b',
    500: '#401534',
    950: '#000000',
  },
}
SCSS
$custom: #401534;
$custom-light: #77556b;
$custom-dark: #000000;
JSON
{
  "hex": "#401534",
  "rgb": {
    "r": 64,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 316.744,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27602,
    "c": 0.07953,
    "h": 339.9
  },
  "luminance": 0.01874
}

Semantic roles & 50–950 ramp

primary
#401534
secondary
#39784B
accent
#DA754E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401534

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

Preview Lab → · Contrast checker → · Palette generator →

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