#4A173C#4A173C

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

Color values

HEX#4A173C
RGBrgb(74, 23, 60)
HSLhsl(316, 53%, 19%)
HSVhsv(316, 69%, 29%)
CMYKcmyk(0%, 68.9%, 18.9%, 71%)
CIE-LABlab(17.44, 29.00, -11.64)
CIE-LCHlch(17.44, 31.25, 338.13°)
OKLaboklab(30.02% 0.086 -0.0313)
OKLCHoklch(30.02% 0.092 340)
XYZxyz(3.9461, 2.3952, 4.5286)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A173C #174A25
analogous
#3F174A #4A173C #4A1723
triadic
#4A173C #3C4A17 #173C4A
tetradic
#4A173C #4A3F17 #174A25 #17234A
square
#4A173C #4A3F17 #174A25 #17234A
split-complementary
#4A173C #234A17 #174A3F
monochromatic
#170713 #1B0816 #4A173C #792662 #A73488

Accessibility & contrast

On white

14.20
#4A173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A173C
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A173C#FFFFFF#000000##FFFFFF
##4A173C1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A263D
Deuteranopia (green-blind)
#292E3B
Tritanopia (blue-blind)
#4F1827
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a173c;
/* rgb */ color: rgb(74, 23, 60);
/* oklch */ color: oklch(30.0% 0.092 340.0);
Tailwind
colors: {
  custom: {
    50: '#7f5871',
    500: '#4a173c',
    950: '#000000',
  },
}
SCSS
$custom: #4a173c;
$custom-light: #7f5871;
$custom-dark: #000000;
JSON
{
  "hex": "#4a173c",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 316.471,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30024,
    "c": 0.09153,
    "h": 340
  },
  "luminance": 0.02395
}

Semantic roles & 50–950 ramp

primary
#4A173C
secondary
#3C814F
accent
#DC734C
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #4A173C

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

Preview Lab → · Contrast checker → · Palette generator →

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