#4A1340#4A1340

#4A1340 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.101 H 335.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#4A1340
RGBrgb(74, 19, 64)
HSLhsl(311, 59%, 18%)
HSVhsv(311, 74%, 29%)
CMYKcmyk(0%, 74.3%, 13.5%, 71%)
CIE-LABlab(16.95, 31.63, -15.20)
CIE-LCHlch(16.95, 35.09, 334.34°)
OKLaboklab(29.74% 0.0925 -0.0414)
OKLCHoklch(29.74% 0.101 335.9)
XYZxyz(3.9824, 2.2921, 5.0822)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1340 #134A1D
analogous
#38134A #4A1340 #4A1324
triadic
#4A1340 #404A13 #13404A
tetradic
#4A1340 #4A3813 #134A1D #13244A
square
#4A1340 #4A3813 #134A1D #13244A
split-complementary
#4A1340 #244A13 #134A38
monochromatic
#180615 #190616 #4A1340 #7B206A #AB2C94

Accessibility & contrast

On white

14.40
#4A1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4A1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1340
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1340#FFFFFF#000000##FFFFFF
##4A13401.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142441
Deuteranopia (green-blind)
#262D3F
Tritanopia (blue-blind)
#4E1627
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4a1340;
/* rgb */ color: rgb(74, 19, 64);
/* oklch */ color: oklch(29.7% 0.101 335.9);
Tailwind
colors: {
  custom: {
    50: '#7f5675',
    500: '#4a1340',
    950: '#000000',
  },
}
SCSS
$custom: #4a1340;
$custom-light: #7f5675;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1340",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 310.909,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.29736,
    "c": 0.10132,
    "h": 335.9
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#4A1340
secondary
#368344
accent
#E26245
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A1340

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

Preview Lab → · Contrast checker → · Palette generator →

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