#4A1131#4A1131

#4A1131 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.093 H 350.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#4A1131
RGBrgb(74, 17, 49)
HSLhsl(326, 63%, 18%)
HSVhsv(326, 77%, 29%)
CMYKcmyk(0%, 77%, 33.8%, 71%)
CIE-LABlab(15.90, 30.11, -6.19)
CIE-LCHlch(15.90, 30.74, 348.37°)
OKLaboklab(28.73% 0.0918 -0.0161)
OKLCHoklch(28.73% 0.093 350)
XYZxyz(3.5790, 2.0789, 3.1179)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1131 #114A2A
analogous
#46114A #4A1131 #4A1114
triadic
#4A1131 #314A11 #11314A
tetradic
#4A1131 #4A4611 #114A2A #11144A
square
#4A1131 #4A4611 #114A2A #11144A
split-complementary
#4A1131 #144A11 #114A46
monochromatic
#190610 #190610 #4A1131 #7C1C52 #AE2873

Accessibility & contrast

On white

14.83
#4A1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A1131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1131
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1131#FFFFFF#000000##FFFFFF
##4A11311.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2132
Deuteranopia (green-blind)
#2A2B30
Tritanopia (blue-blind)
#500E1F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1131;
/* rgb */ color: rgb(74, 17, 49);
/* oklch */ color: oklch(28.7% 0.093 350.0);
Tailwind
colors: {
  custom: {
    50: '#7f5469',
    500: '#4a1131',
    950: '#000000',
  },
}
SCSS
$custom: #4a1131;
$custom-light: #7f5469;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1131",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 326.316,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28726,
    "c": 0.09319,
    "h": 350
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#4A1131
secondary
#338356
accent
#E68A42
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #4A1131

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

Preview Lab → · Contrast checker → · Palette generator →

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