#401833#401833

#401833 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.0% C 0.073 H 341.7°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#401833
RGBrgb(64, 24, 51)
HSLhsl(320, 45%, 17%)
HSVhsv(320, 63%, 25%)
CMYKcmyk(0%, 62.5%, 20.3%, 74.9%)
CIE-LABlab(15.40, 23.37, -8.57)
CIE-LCHlch(15.40, 24.89, 339.87°)
OKLaboklab(28.02% 0.0694 -0.0229)
OKLCHoklch(28.02% 0.073 341.7)
XYZxyz(3.0386, 1.9825, 3.3540)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401833 #184025
analogous
#391840 #401833 #40181F
triadic
#401833 #334018 #183340
tetradic
#401833 #403918 #184025 #181F40
square
#401833 #403918 #184025 #181F40
split-complementary
#401833 #1F4018 #184039
monochromatic
#160812 #160812 #401833 #6D2956 #99397A

Accessibility & contrast

On white

15.04
#401833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#401833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401833
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401833#FFFFFF#000000##FFFFFF
##4018331.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#262932
Tritanopia (blue-blind)
#441823
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #401833;
/* rgb */ color: rgb(64, 24, 51);
/* oklch */ color: oklch(28.0% 0.073 341.7);
Tailwind
colors: {
  custom: {
    50: '#76576a',
    500: '#401833',
    950: '#000000',
  },
}
SCSS
$custom: #401833;
$custom-light: #76576a;
$custom-dark: #000000;
JSON
{
  "hex": "#401833",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 319.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28015,
    "c": 0.07303,
    "h": 341.7
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#401833
secondary
#3D7750
accent
#D57D53
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #401833

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

Preview Lab → · Contrast checker → · Palette generator →

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