#4A163E#4A163E

#4A163E is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.0% C 0.095 H 337.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#4A163E
RGBrgb(74, 22, 62)
HSLhsl(314, 54%, 19%)
HSVhsv(314, 70%, 29%)
CMYKcmyk(0%, 70.3%, 16.2%, 71%)
CIE-LABlab(17.36, 29.86, -13.17)
CIE-LCHlch(17.36, 32.63, 336.20°)
OKLaboklab(30% 0.0879 -0.0356)
OKLCHoklch(30% 0.095 337.9)
XYZxyz(3.9805, 2.3778, 4.8058)
Luminance0.0238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A163E #164A22
analogous
#3C164A #4A163E #4A1624
triadic
#4A163E #3E4A16 #163E4A
tetradic
#4A163E #4A3C16 #164A22 #16244A
square
#4A163E #4A3C16 #164A22 #16244A
split-complementary
#4A163E #244A16 #164A3C
monochromatic
#180714 #1B0816 #4A163E #792466 #A8328D

Accessibility & contrast

On white

14.23
#4A163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A163E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A163E#FFFFFF#000000##FFFFFF
##4A163E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253F
Deuteranopia (green-blind)
#282E3D
Tritanopia (blue-blind)
#4E1827
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a163e;
/* rgb */ color: rgb(74, 22, 62);
/* oklch */ color: oklch(30.0% 0.095 337.9);
Tailwind
colors: {
  custom: {
    50: '#7f5773',
    500: '#4a163e',
    950: '#000000',
  },
}
SCSS
$custom: #4a163e;
$custom-light: #7f5773;
$custom-dark: #000000;
JSON
{
  "hex": "#4a163e",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 313.846,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.09487,
    "h": 337.9
  },
  "luminance": 0.02377
}

Semantic roles & 50–950 ramp

primary
#4A163E
secondary
#3A824B
accent
#DE6C4A
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A163E

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

Preview Lab → · Contrast checker → · Palette generator →

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