#401123#401123

#401123 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.2% C 0.075 H 0.1°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#401123
RGBrgb(64, 17, 35)
HSLhsl(337, 58%, 16%)
HSVhsv(337, 73%, 25%)
CMYKcmyk(0%, 73.4%, 45.3%, 74.9%)
CIE-LABlab(13.31, 24.69, -0.07)
CIE-LCHlch(13.31, 24.69, 359.84°)
OKLaboklab(26.25% 0.0755 0.0001)
OKLCHoklch(26.25% 0.075 0.1)
XYZxyz(2.6183, 1.6125, 1.7631)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401123 #11402E
analogous
#40113A #401123 #401611
triadic
#401123 #234011 #112340
tetradic
#401123 #3A4011 #11402E #161140
square
#401123 #3A4011 #11402E #161140
split-complementary
#401123 #114016 #113A40
monochromatic
#18060D #18060D #401123 #701E3D #A12B58

Accessibility & contrast

On white

15.88
#401123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #401123
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401123#FFFFFF#000000##FFFFFF
##4011231.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C23
Deuteranopia (green-blind)
#262522
Tritanopia (blue-blind)
#460C18
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #401123;
/* rgb */ color: rgb(64, 17, 35);
/* oklch */ color: oklch(26.2% 0.075 0.1);
Tailwind
colors: {
  custom: {
    50: '#78525d',
    500: '#401123',
    950: '#000000',
  },
}
SCSS
$custom: #401123;
$custom-light: #78525d;
$custom-dark: #000000;
JSON
{
  "hex": "#401123",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 337.021,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26248,
    "c": 0.07549,
    "h": 0.1
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#401123
secondary
#33795F
accent
#E1A647
background
#F7F4F5
surface
#EDE7E9
border
#C8C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #401123

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

Preview Lab → · Contrast checker → · Palette generator →

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