#401030#401030

#401030 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.085 H 343.5°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#401030
RGBrgb(64, 16, 48)
HSLhsl(320, 60%, 16%)
HSVhsv(320, 75%, 25%)
CMYKcmyk(0%, 75%, 25%, 74.9%)
CIE-LABlab(13.68, 27.12, -9.04)
CIE-LCHlch(13.68, 28.59, 341.57°)
OKLaboklab(26.7% 0.0815 -0.0241)
OKLCHoklch(26.7% 0.085 343.5)
XYZxyz(2.8332, 1.6742, 2.9697)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401030 #104020
analogous
#381040 #401030 #401018
triadic
#401030 #304010 #103040
tetradic
#401030 #403810 #104020 #101840
square
#401030 #403810 #104020 #101840
split-complementary
#401030 #184010 #104038
monochromatic
#180612 #180612 #401030 #711C55 #A22879

Accessibility & contrast

On white

15.73
#401030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#401030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401030
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401030#FFFFFF#000000##FFFFFF
##4010301.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141E31
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#45101E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401030;
/* rgb */ color: rgb(64, 16, 48);
/* oklch */ color: oklch(26.7% 0.085 343.5);
Tailwind
colors: {
  custom: {
    50: '#775268',
    500: '#401030',
    950: '#000000',
  },
}
SCSS
$custom: #401030;
$custom-light: #775268;
$custom-dark: #000000;
JSON
{
  "hex": "#401030",
  "rgb": {
    "r": 64,
    "g": 16,
    "b": 48
  },
  "hsl": {
    "h": 320,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26701,
    "c": 0.08494,
    "h": 343.5
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#401030
secondary
#327A4A
accent
#E37945
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401030

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

Preview Lab → · Contrast checker → · Palette generator →

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