#401035#401035

#401035 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.089 H 338.1°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#401035
RGBrgb(64, 16, 53)
HSLhsl(314, 60%, 16%)
HSVhsv(314, 75%, 25%)
CMYKcmyk(0%, 75%, 17.2%, 74.9%)
CIE-LABlab(13.93, 27.98, -12.25)
CIE-LCHlch(13.93, 30.55, 336.35°)
OKLaboklab(26.97% 0.0826 -0.0332)
OKLCHoklch(26.97% 0.089 338.1)
XYZxyz(2.9423, 1.7179, 3.5441)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401035 #10401B
analogous
#331040 #401035 #40101D
triadic
#401035 #354010 #103540
tetradic
#401035 #403310 #10401B #101D40
square
#401035 #403310 #10401B #101D40
split-complementary
#401035 #1D4010 #104033
monochromatic
#180614 #180614 #401035 #711C5E #A22886

Accessibility & contrast

On white

15.63
#401035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401035
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401035#FFFFFF#000000##FFFFFF
##4010351.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F36
Deuteranopia (green-blind)
#212634
Tritanopia (blue-blind)
#441220
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401035;
/* rgb */ color: rgb(64, 16, 53);
/* oklch */ color: oklch(27.0% 0.089 338.1);
Tailwind
colors: {
  custom: {
    50: '#77526c',
    500: '#401035',
    950: '#000000',
  },
}
SCSS
$custom: #401035;
$custom-light: #77526c;
$custom-dark: #000000;
JSON
{
  "hex": "#401035",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 313.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26971,
    "c": 0.08898,
    "h": 338.1
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#401035
secondary
#327A42
accent
#E36945
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090207
muted
#7B787A

Preview Lab

Preview with #401035

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

Preview Lab → · Contrast checker → · Palette generator →

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