#400533#400533

#400533 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.7% C 0.103 H 339.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#400533
RGBrgb(64, 5, 51)
HSLhsl(313, 86%, 14%)
HSVhsv(313, 92%, 25%)
CMYKcmyk(0%, 92.2%, 20.3%, 74.9%)
CIE-LABlab(12.21, 32.22, -13.49)
CIE-LCHlch(12.21, 34.93, 337.28°)
OKLaboklab(25.69% 0.096 -0.0366)
OKLCHoklch(25.69% 0.103 339.1)
XYZxyz(2.7662, 1.4378, 3.2632)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#400533 #054012
analogous
#2F0540 #400533 #400515
triadic
#400533 #334005 #053340
tetradic
#400533 #402F05 #054012 #051540
square
#400533 #402F05 #054012 #051540
split-complementary
#400533 #154005 #05402F
monochromatic
#1C0217 #1C0217 #400533 #790960 #B20E8D

Accessibility & contrast

On white

16.31
#400533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#400533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #400533
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##400533#FFFFFF#000000##FFFFFF
##4005331.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A34
Deuteranopia (green-blind)
#1D2332
Tritanopia (blue-blind)
#44081C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #400533;
/* rgb */ color: rgb(64, 5, 51);
/* oklch */ color: oklch(25.7% 0.103 339.1);
Tailwind
colors: {
  custom: {
    50: '#784e6a',
    500: '#400533',
    950: '#000000',
  },
}
SCSS
$custom: #400533;
$custom-light: #784e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#400533",
  "rgb": {
    "r": 64,
    "g": 5,
    "b": 51
  },
  "hsl": {
    "h": 313.22,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25688,
    "c": 0.10276,
    "h": 339.1
  },
  "luminance": 0.01438
}

Semantic roles & 50–950 ramp

primary
#400533
secondary
#208135
accent
#FC5A2C
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #400533

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

Preview Lab → · Contrast checker → · Palette generator →

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