#401125#401125

#401125 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.3% C 0.076 H 357.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#401125
RGBrgb(64, 17, 37)
HSLhsl(334, 58%, 16%)
HSVhsv(334, 73%, 25%)
CMYKcmyk(0%, 73.4%, 42.2%, 74.9%)
CIE-LABlab(13.38, 24.95, -1.44)
CIE-LCHlch(13.38, 24.99, 356.70°)
OKLaboklab(26.33% 0.0763 -0.0035)
OKLCHoklch(26.33% 0.076 357.4)
XYZxyz(2.6489, 1.6248, 1.9240)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401125 #11402C
analogous
#40113C #401125 #401411
triadic
#401125 #254011 #112540
tetradic
#401125 #3C4011 #11402C #141140
square
#401125 #3C4011 #11402C #141140
split-complementary
#401125 #114014 #113C40
monochromatic
#18060E #18060E #401125 #701E41 #A12B5D

Accessibility & contrast

On white

15.85
#401125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#401125 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401125
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401125#FFFFFF#000000##FFFFFF
##4011251.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D26
Deuteranopia (green-blind)
#262624
Tritanopia (blue-blind)
#460D19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401125;
/* rgb */ color: rgb(64, 17, 37);
/* oklch */ color: oklch(26.3% 0.076 357.4);
Tailwind
colors: {
  custom: {
    50: '#77525f',
    500: '#401125',
    950: '#000000',
  },
}
SCSS
$custom: #401125;
$custom-light: #77525f;
$custom-dark: #000000;
JSON
{
  "hex": "#401125",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 37
  },
  "hsl": {
    "h": 334.468,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26327,
    "c": 0.07638,
    "h": 357.4
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#401125
secondary
#33795C
accent
#E19F47
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401125

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

Preview Lab → · Contrast checker → · Palette generator →

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