#401433#401433

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

Color values

HEX#401433
RGBrgb(64, 20, 51)
HSLhsl(318, 52%, 16%)
HSVhsv(318, 69%, 25%)
CMYKcmyk(0%, 68.8%, 20.3%, 74.9%)
CIE-LABlab(14.57, 25.60, -9.83)
CIE-LCHlch(14.57, 27.42, 338.98°)
OKLaboklab(27.4% 0.076 -0.0264)
OKLCHoklch(27.4% 0.08 340.9)
XYZxyz(2.9621, 1.8296, 3.3285)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401433 #144021
analogous
#371440 #401433 #40141D
triadic
#401433 #334014 #143340
tetradic
#401433 #403714 #144021 #141D40
square
#401433 #403714 #144021 #141D40
split-complementary
#401433 #1D4014 #144037
monochromatic
#170713 #170713 #401433 #6F2358 #9D317D

Accessibility & contrast

On white

15.38
#401433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#401433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401433
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401433#FFFFFF#000000##FFFFFF
##4014331.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172034
Deuteranopia (green-blind)
#242732
Tritanopia (blue-blind)
#441521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401433;
/* rgb */ color: rgb(64, 20, 51);
/* oklch */ color: oklch(27.4% 0.080 340.9);
Tailwind
colors: {
  custom: {
    50: '#77556a',
    500: '#401433',
    950: '#000000',
  },
}
SCSS
$custom: #401433;
$custom-light: #77556a;
$custom-dark: #000000;
JSON
{
  "hex": "#401433",
  "rgb": {
    "r": 64,
    "g": 20,
    "b": 51
  },
  "hsl": {
    "h": 317.727,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27403,
    "c": 0.08049,
    "h": 340.9
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#401433
secondary
#38784B
accent
#DC764C
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401433

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

Preview Lab → · Contrast checker → · Palette generator →

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