#401023#401023

#401023 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.077 H 359.6°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#401023
RGBrgb(64, 16, 35)
HSLhsl(336, 60%, 16%)
HSVhsv(336, 75%, 25%)
CMYKcmyk(0%, 75%, 45.3%, 74.9%)
CIE-LABlab(13.12, 25.19, -0.34)
CIE-LCHlch(13.12, 25.20, 359.22°)
OKLaboklab(26.11% 0.0771 -0.0006)
OKLCHoklch(26.11% 0.077 359.6)
XYZxyz(2.6032, 1.5822, 1.7581)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401023 #10402D
analogous
#40103B #401023 #401510
triadic
#401023 #234010 #102340
tetradic
#401023 #3B4010 #10402D #151040
square
#401023 #3B4010 #10402D #151040
split-complementary
#401023 #104015 #103B40
monochromatic
#18060D #18060D #401023 #711C3E #A22859

Accessibility & contrast

On white

15.95
#401023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401023
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401023#FFFFFF#000000##FFFFFF
##4010231.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191C24
Deuteranopia (green-blind)
#262522
Tritanopia (blue-blind)
#460B18
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401023;
/* rgb */ color: rgb(64, 16, 35);
/* oklch */ color: oklch(26.1% 0.077 359.6);
Tailwind
colors: {
  custom: {
    50: '#78525d',
    500: '#401023',
    950: '#000000',
  },
}
SCSS
$custom: #401023;
$custom-light: #78525d;
$custom-dark: #000000;
JSON
{
  "hex": "#401023",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 336.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26111,
    "c": 0.07708,
    "h": 359.6
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#401023
secondary
#327A5D
accent
#E3A445
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401023

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

Preview Lab → · Contrast checker → · Palette generator →

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