#401330#401330

#401330 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.1% C 0.080 H 344.2°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#401330
RGBrgb(64, 19, 48)
HSLhsl(321, 54%, 16%)
HSVhsv(321, 70%, 25%)
CMYKcmyk(0%, 70.3%, 25%, 74.9%)
CIE-LABlab(14.23, 25.60, -8.19)
CIE-LCHlch(14.23, 26.88, 342.26°)
OKLaboklab(27.11% 0.0768 -0.0218)
OKLCHoklch(27.11% 0.08 344.2)
XYZxyz(2.8808, 1.7694, 2.9855)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401330 #134023
analogous
#3A1340 #401330 #40131A
triadic
#401330 #304013 #133040
tetradic
#401330 #403A13 #134023 #131A40
square
#401330 #403A13 #134023 #131A40
split-complementary
#401330 #1A4013 #13403A
monochromatic
#180712 #180712 #401330 #6F2153 #9E2F77

Accessibility & contrast

On white

15.51
#401330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#401330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401330
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401330#FFFFFF#000000##FFFFFF
##4013301.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171F31
Deuteranopia (green-blind)
#24272F
Tritanopia (blue-blind)
#44131F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401330;
/* rgb */ color: rgb(64, 19, 48);
/* oklch */ color: oklch(27.1% 0.080 344.2);
Tailwind
colors: {
  custom: {
    50: '#775468',
    500: '#401330',
    950: '#000000',
  },
}
SCSS
$custom: #401330;
$custom-light: #775468;
$custom-dark: #000000;
JSON
{
  "hex": "#401330",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 321.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27106,
    "c": 0.07986,
    "h": 344.2
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#401330
secondary
#36794E
accent
#DE7F4A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401330

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

Preview Lab → · Contrast checker → · Palette generator →

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