#4A1136#4A1136

#4A1136 is a dark, moderate pink. Relative luminance 0.021; OKLCH L 29.0% C 0.096 H 344.9°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#4A1136
RGBrgb(74, 17, 54)
HSLhsl(321, 63%, 18%)
HSVhsv(321, 77%, 29%)
CMYKcmyk(0%, 77%, 27%, 71%)
CIE-LABlab(16.12, 30.85, -9.42)
CIE-LCHlch(16.12, 32.26, 343.01°)
OKLaboklab(28.97% 0.0932 -0.0251)
OKLCHoklch(28.97% 0.096 344.9)
XYZxyz(3.6905, 2.1235, 3.7048)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1136 #114A25
analogous
#41114A #4A1136 #4A1119
triadic
#4A1136 #364A11 #11364A
tetradic
#4A1136 #4A4111 #114A25 #11194A
square
#4A1136 #4A4111 #114A25 #11194A
split-complementary
#4A1136 #194A11 #114A41
monochromatic
#190612 #190612 #4A1136 #7C1C5A #AE287F

Accessibility & contrast

On white

14.74
#4A1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1136
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1136#FFFFFF#000000##FFFFFF
##4A11361.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172237
Deuteranopia (green-blind)
#282C35
Tritanopia (blue-blind)
#4F1021
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a1136;
/* rgb */ color: rgb(74, 17, 54);
/* oklch */ color: oklch(29.0% 0.096 344.9);
Tailwind
colors: {
  custom: {
    50: '#7f556d',
    500: '#4a1136',
    950: '#000000',
  },
}
SCSS
$custom: #4a1136;
$custom-light: #7f556d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1136",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 321.053,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28966,
    "c": 0.09649,
    "h": 344.9
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#4A1136
secondary
#33834F
accent
#E67C42
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A1136

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

Preview Lab → · Contrast checker → · Palette generator →

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