#401033#401033

#401033 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.087 H 340.2°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#401033
RGBrgb(64, 16, 51)
HSLhsl(316, 60%, 16%)
HSVhsv(316, 75%, 25%)
CMYKcmyk(0%, 75%, 20.3%, 74.9%)
CIE-LABlab(13.83, 27.63, -10.97)
CIE-LCHlch(13.83, 29.73, 338.34°)
OKLaboklab(26.86% 0.0822 -0.0295)
OKLCHoklch(26.86% 0.087 340.2)
XYZxyz(2.8973, 1.6999, 3.3068)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401033 #10401D
analogous
#351040 #401033 #40101B
triadic
#401033 #334010 #103340
tetradic
#401033 #403510 #10401D #101B40
square
#401033 #403510 #10401D #101B40
split-complementary
#401033 #1B4010 #104035
monochromatic
#180614 #180614 #401033 #711C5A #A22881

Accessibility & contrast

On white

15.67
#401033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401033
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401033#FFFFFF#000000##FFFFFF
##4010331.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131E34
Deuteranopia (green-blind)
#222632
Tritanopia (blue-blind)
#44111F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401033;
/* rgb */ color: rgb(64, 16, 51);
/* oklch */ color: oklch(26.9% 0.087 340.2);
Tailwind
colors: {
  custom: {
    50: '#77526a',
    500: '#401033',
    950: '#000000',
  },
}
SCSS
$custom: #401033;
$custom-light: #77526a;
$custom-dark: #000000;
JSON
{
  "hex": "#401033",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 51
  },
  "hsl": {
    "h": 316.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2686,
    "c": 0.08731,
    "h": 340.2
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#401033
secondary
#327A45
accent
#E37045
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401033

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

Preview Lab → · Contrast checker → · Palette generator →

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