#4A113F#4A113F

#4A113F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.5% C 0.103 H 336.7°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4A113F
RGBrgb(74, 17, 63)
HSLhsl(312, 63%, 18%)
HSVhsv(312, 77%, 29%)
CMYKcmyk(0%, 77%, 14.9%, 71%)
CIE-LABlab(16.58, 32.34, -15.07)
CIE-LCHlch(16.58, 35.68, 335.01°)
OKLaboklab(29.45% 0.095 -0.041)
OKLCHoklch(29.45% 0.103 336.7)
XYZxyz(3.9218, 2.2160, 4.9228)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A113F #114A1C
analogous
#38114A #4A113F #4A1122
triadic
#4A113F #3F4A11 #113F4A
tetradic
#4A113F #4A3811 #114A1C #11224A
square
#4A113F #4A3811 #114A1C #11224A
split-complementary
#4A113F #224A11 #114A38
monochromatic
#190615 #190615 #4A113F #7C1C69 #AE2894

Accessibility & contrast

On white

14.55
#4A113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A113F
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A113F#FFFFFF#000000##FFFFFF
##4A113F1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122340
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#4E1426
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a113f;
/* rgb */ color: rgb(74, 17, 63);
/* oklch */ color: oklch(29.5% 0.103 336.7);
Tailwind
colors: {
  custom: {
    50: '#7f5574',
    500: '#4a113f',
    950: '#000000',
  },
}
SCSS
$custom: #4a113f;
$custom-light: #7f5574;
$custom-dark: #000000;
JSON
{
  "hex": "#4a113f",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 311.579,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29451,
    "c": 0.10343,
    "h": 336.7
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#4A113F
secondary
#338343
accent
#E66242
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A113F

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

Preview Lab → · Contrast checker → · Palette generator →

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