#401130#401130

#401130 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.083 H 343.7°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#401130
RGBrgb(64, 17, 48)
HSLhsl(320, 58%, 16%)
HSVhsv(320, 73%, 25%)
CMYKcmyk(0%, 73.4%, 25%, 74.9%)
CIE-LABlab(13.85, 26.63, -8.76)
CIE-LCHlch(13.85, 28.03, 341.78°)
OKLaboklab(26.83% 0.0799 -0.0234)
OKLCHoklch(26.83% 0.083 343.7)
XYZxyz(2.8484, 1.7046, 2.9747)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#401130 #114021
analogous
#381140 #401130 #401118
triadic
#401130 #304011 #113040
tetradic
#401130 #403811 #114021 #111840
square
#401130 #403811 #114021 #111840
split-complementary
#401130 #184011 #114038
monochromatic
#180612 #180612 #401130 #701E54 #A12B79

Accessibility & contrast

On white

15.66
#401130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#401130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #401130
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##401130#FFFFFF#000000##FFFFFF
##4011301.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151E31
Deuteranopia (green-blind)
#23262F
Tritanopia (blue-blind)
#45111E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #401130;
/* rgb */ color: rgb(64, 17, 48);
/* oklch */ color: oklch(26.8% 0.083 343.7);
Tailwind
colors: {
  custom: {
    50: '#775368',
    500: '#401130',
    950: '#000000',
  },
}
SCSS
$custom: #401130;
$custom-light: #775368;
$custom-dark: #000000;
JSON
{
  "hex": "#401130",
  "rgb": {
    "r": 64,
    "g": 17,
    "b": 48
  },
  "hsl": {
    "h": 320.426,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26831,
    "c": 0.08329,
    "h": 343.7
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#401130
secondary
#33794B
accent
#E17B47
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #401130

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

Preview Lab → · Contrast checker → · Palette generator →

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