#401333#401333

#401333 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.082 H 340.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#401333
RGBrgb(64, 19, 51)
HSLhsl(317, 54%, 16%)
HSVhsv(317, 70%, 25%)
CMYKcmyk(0%, 70.3%, 20.3%, 74.9%)
CIE-LABlab(14.37, 26.12, -10.13)
CIE-LCHlch(14.37, 28.02, 338.80°)
OKLaboklab(27.26% 0.0776 -0.0272)
OKLCHoklch(27.26% 0.082 340.7)
XYZxyz(2.9448, 1.7950, 3.3227)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401333 #134020
analogous
#371340 #401333 #40131D
triadic
#401333 #334013 #133340
tetradic
#401333 #403713 #134020 #131D40
square
#401333 #403713 #134020 #131D40
split-complementary
#401333 #1D4013 #134037
monochromatic
#180713 #180713 #401333 #6F2159 #9E2F7E

Accessibility & contrast

On white

15.45
#401333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#401333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401333
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401333#FFFFFF#000000##FFFFFF
##4013331.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162034
Deuteranopia (green-blind)
#232732
Tritanopia (blue-blind)
#441420
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #401333;
/* rgb */ color: rgb(64, 19, 51);
/* oklch */ color: oklch(27.3% 0.082 340.7);
Tailwind
colors: {
  custom: {
    50: '#77546a',
    500: '#401333',
    950: '#000000',
  },
}
SCSS
$custom: #401333;
$custom-light: #77546a;
$custom-dark: #000000;
JSON
{
  "hex": "#401333",
  "rgb": {
    "r": 64,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 317.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2726,
    "c": 0.08226,
    "h": 340.7
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#401333
secondary
#367949
accent
#DE754A
background
#F7F4F6
surface
#EDE8EB
border
#C8C4C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401333

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

Preview Lab → · Contrast checker → · Palette generator →

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