#4A113B#4A113B

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

Color values

HEX#4A113B
RGBrgb(74, 17, 59)
HSLhsl(316, 63%, 18%)
HSVhsv(316, 77%, 29%)
CMYKcmyk(0%, 77%, 20.3%, 71%)
CIE-LABlab(16.37, 31.65, -12.59)
CIE-LCHlch(16.37, 34.07, 338.31°)
OKLaboklab(29.23% 0.0943 -0.0339)
OKLCHoklch(29.23% 0.1 340.2)
XYZxyz(3.8140, 2.1729, 4.3554)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A113B #114A20
analogous
#3C114A #4A113B #4A111F
triadic
#4A113B #3B4A11 #113B4A
tetradic
#4A113B #4A3C11 #114A20 #111F4A
square
#4A113B #4A3C11 #114A20 #111F4A
split-complementary
#4A113B #1F4A11 #114A3C
monochromatic
#190614 #190614 #4A113B #7C1C63 #AE288A

Accessibility & contrast

On white

14.64
#4A113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A113B
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A113B#FFFFFF#000000##FFFFFF
##4A113B1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233C
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#4F1324
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a113b;
/* rgb */ color: rgb(74, 17, 59);
/* oklch */ color: oklch(29.2% 0.100 340.2);
Tailwind
colors: {
  custom: {
    50: '#7f5571',
    500: '#4a113b',
    950: '#000000',
  },
}
SCSS
$custom: #4a113b;
$custom-light: #7f5571;
$custom-dark: #000000;
JSON
{
  "hex": "#4a113b",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 315.789,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.29227,
    "c": 0.10021,
    "h": 340.2
  },
  "luminance": 0.02173
}

Semantic roles & 50–950 ramp

primary
#4A113B
secondary
#338348
accent
#E66D42
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A113B

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

Preview Lab → · Contrast checker → · Palette generator →

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