#4A113A#4A113A

#4A113A is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.099 H 341.1°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4A113A
RGBrgb(74, 17, 58)
HSLhsl(317, 63%, 18%)
HSVhsv(317, 77%, 29%)
CMYKcmyk(0%, 77%, 21.6%, 71%)
CIE-LABlab(16.32, 31.49, -11.96)
CIE-LCHlch(16.32, 33.69, 339.20°)
OKLaboklab(29.17% 0.0941 -0.0322)
OKLCHoklch(29.17% 0.099 341.1)
XYZxyz(3.7883, 2.1626, 4.2201)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A113A #114A21
analogous
#3D114A #4A113A #4A111D
triadic
#4A113A #3A4A11 #113A4A
tetradic
#4A113A #4A3D11 #114A21 #111D4A
square
#4A113A #4A3D11 #114A21 #111D4A
split-complementary
#4A113A #1D4A11 #114A3D
monochromatic
#190614 #190614 #4A113A #7C1C61 #AE2888

Accessibility & contrast

On white

14.66
#4A113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A113A
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A113A#FFFFFF#000000##FFFFFF
##4A113A1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233B
Deuteranopia (green-blind)
#272C39
Tritanopia (blue-blind)
#4F1223
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a113a;
/* rgb */ color: rgb(74, 17, 58);
/* oklch */ color: oklch(29.2% 0.099 341.1);
Tailwind
colors: {
  custom: {
    50: '#7f5570',
    500: '#4a113a',
    950: '#000000',
  },
}
SCSS
$custom: #4a113a;
$custom-light: #7f5570;
$custom-dark: #000000;
JSON
{
  "hex": "#4a113a",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 316.842,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.09944,
    "h": 341.1
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#4A113A
secondary
#33834A
accent
#E67042
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A113A

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

Preview Lab → · Contrast checker → · Palette generator →

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