#4A173D#4A173D

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

Color values

HEX#4A173D
RGBrgb(74, 23, 61)
HSLhsl(315, 53%, 19%)
HSVhsv(315, 69%, 29%)
CMYKcmyk(0%, 68.9%, 17.6%, 71%)
CIE-LABlab(17.49, 29.18, -12.27)
CIE-LCHlch(17.49, 31.65, 337.20°)
OKLaboklab(30.08% 0.0862 -0.0331)
OKLCHoklch(30.08% 0.092 339)
XYZxyz(3.9728, 2.4059, 4.6691)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A173D #174A24
analogous
#3E174A #4A173D #4A1724
triadic
#4A173D #3D4A17 #173D4A
tetradic
#4A173D #4A3E17 #174A24 #17244A
square
#4A173D #4A3E17 #174A24 #17244A
split-complementary
#4A173D #244A17 #174A3E
monochromatic
#170713 #1B0817 #4A173D #792663 #A7348A

Accessibility & contrast

On white

14.18
#4A173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A173D
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A173D#FFFFFF#000000##FFFFFF
##4A173D1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263E
Deuteranopia (green-blind)
#292E3C
Tritanopia (blue-blind)
#4E1927
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4a173d;
/* rgb */ color: rgb(74, 23, 61);
/* oklch */ color: oklch(30.1% 0.092 339.0);
Tailwind
colors: {
  custom: {
    50: '#7f5872',
    500: '#4a173d',
    950: '#000000',
  },
}
SCSS
$custom: #4a173d;
$custom-light: #7f5872;
$custom-dark: #000000;
JSON
{
  "hex": "#4a173d",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 315.294,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30077,
    "c": 0.09236,
    "h": 339
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#4A173D
secondary
#3C814D
accent
#DC714C
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4A173D

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

Preview Lab → · Contrast checker → · Palette generator →

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