#4A163F#4A163F

#4A163F is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.096 H 337.0°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4A163F
RGBrgb(74, 22, 63)
HSLhsl(313, 54%, 19%)
HSVhsv(313, 70%, 29%)
CMYKcmyk(0%, 70.3%, 14.9%, 71%)
CIE-LABlab(17.41, 30.03, -13.79)
CIE-LCHlch(17.41, 33.05, 335.34°)
OKLaboklab(30.05% 0.0881 -0.0374)
OKLCHoklch(30.05% 0.096 337)
XYZxyz(4.0082, 2.3889, 4.9517)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A163F #164A21
analogous
#3B164A #4A163F #4A1625
triadic
#4A163F #3F4A16 #163F4A
tetradic
#4A163F #4A3B16 #164A21 #16254A
square
#4A163F #4A3B16 #164A21 #16254A
split-complementary
#4A163F #254A16 #164A3B
monochromatic
#180714 #1B0817 #4A163F #792467 #A8328F

Accessibility & contrast

On white

14.21
#4A163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4A163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A163F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A163F#FFFFFF#000000##FFFFFF
##4A163F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172640
Deuteranopia (green-blind)
#272E3E
Tritanopia (blue-blind)
#4E1928
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a163f;
/* rgb */ color: rgb(74, 22, 63);
/* oklch */ color: oklch(30.1% 0.096 337.0);
Tailwind
colors: {
  custom: {
    50: '#7f5774',
    500: '#4a163f',
    950: '#000000',
  },
}
SCSS
$custom: #4a163f;
$custom-light: #7f5774;
$custom-dark: #000000;
JSON
{
  "hex": "#4a163f",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 312.692,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.09572,
    "h": 337
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#4A163F
secondary
#3A8249
accent
#DE694A
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A163F

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

Preview Lab → · Contrast checker → · Palette generator →

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