#4A1040#4A1040

#4A1040 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.106 H 335.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#4A1040
RGBrgb(74, 16, 64)
HSLhsl(310, 64%, 18%)
HSVhsv(310, 78%, 29%)
CMYKcmyk(0%, 78.4%, 13.5%, 71%)
CIE-LABlab(16.49, 32.93, -15.92)
CIE-LCHlch(16.49, 36.58, 334.20°)
OKLaboklab(29.4% 0.0963 -0.0434)
OKLCHoklch(29.4% 0.106 335.7)
XYZxyz(3.9348, 2.1969, 5.0663)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1040 #104A1A
analogous
#37104A #4A1040 #4A1023
triadic
#4A1040 #404A10 #10404A
tetradic
#4A1040 #4A3710 #104A1A #10234A
square
#4A1040 #4A3710 #104A1A #10234A
split-complementary
#4A1040 #234A10 #104A37
monochromatic
#190516 #190516 #4A1040 #7C1B6C #AF2697

Accessibility & contrast

On white

14.59
#4A1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4A1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1040
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1040#FFFFFF#000000##FFFFFF
##4A10401.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102341
Deuteranopia (green-blind)
#242C3F
Tritanopia (blue-blind)
#4E1426
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1040;
/* rgb */ color: rgb(74, 16, 64);
/* oklch */ color: oklch(29.4% 0.106 335.7);
Tailwind
colors: {
  custom: {
    50: '#7f5575',
    500: '#4a1040',
    950: '#000000',
  },
}
SCSS
$custom: #4a1040;
$custom-light: #7f5575;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1040",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 310.345,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29401,
    "c": 0.10566,
    "h": 335.7
  },
  "luminance": 0.02197
}

Semantic roles & 50–950 ramp

primary
#4A1040
secondary
#328440
accent
#E75D40
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1040

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

Preview Lab → · Contrast checker → · Palette generator →

#4A1040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva