#401825#401825

#401825 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.4% C 0.064 H 1.8°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#401825
RGBrgb(64, 24, 37)
HSLhsl(341, 45%, 17%)
HSVhsv(341, 63%, 25%)
CMYKcmyk(0%, 62.5%, 42.2%, 74.9%)
CIE-LABlab(14.83, 21.08, 0.68)
CIE-LCHlch(14.83, 21.09, 1.85°)
OKLaboklab(27.41% 0.0642 0.002)
OKLCHoklch(27.41% 0.064 1.8)
XYZxyz(2.7751, 1.8771, 1.9661)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401825 #184033
analogous
#401839 #401825 #401F18
triadic
#401825 #254018 #182540
tetradic
#401825 #394018 #184033 #1F1840
square
#401825 #394018 #184033 #1F1840
split-complementary
#401825 #18401F #183940
monochromatic
#16080D #16080D #401825 #6D293F #993958

Accessibility & contrast

On white

15.27
#401825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#401825 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401825
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401825#FFFFFF#000000##FFFFFF
##4018251.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2125
Deuteranopia (green-blind)
#292824
Tritanopia (blue-blind)
#45141D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #401825;
/* rgb */ color: rgb(64, 24, 37);
/* oklch */ color: oklch(27.4% 0.064 1.8);
Tailwind
colors: {
  custom: {
    50: '#77575f',
    500: '#401825',
    950: '#000000',
  },
}
SCSS
$custom: #401825;
$custom-light: #77575f;
$custom-dark: #000000;
JSON
{
  "hex": "#401825",
  "rgb": {
    "r": 64,
    "g": 24,
    "b": 37
  },
  "hsl": {
    "h": 340.5,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27407,
    "c": 0.06421,
    "h": 1.8
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#401825
secondary
#3D7764
accent
#D5AB53
background
#F7F5F5
surface
#EDE9E9
border
#C8C5C5
text
#090304
muted
#7B7879

Preview Lab

Preview with #401825

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

Preview Lab → · Contrast checker → · Palette generator →

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