#4D173A#4D173A

#4D173A is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.4% C 0.093 H 344.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#4D173A
RGBrgb(77, 23, 58)
HSLhsl(321, 54%, 20%)
HSVhsv(321, 70%, 30%)
CMYKcmyk(0%, 70.1%, 24.7%, 69.8%)
CIE-LABlab(17.90, 29.66, -9.48)
CIE-LCHlch(17.90, 31.14, 342.28°)
OKLaboklab(30.44% 0.0891 -0.0252)
OKLCHoklch(30.44% 0.093 344.2)
XYZxyz(4.1308, 2.4965, 4.2665)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D173A #174D2A
analogous
#45174D #4D173A #4D171F
triadic
#4D173A #3A4D17 #173A4D
tetradic
#4D173A #4D4517 #174D2A #171F4D
square
#4D173A #4D4517 #174D2A #171F4D
split-complementary
#4D173A #1F4D17 #174D45
monochromatic
#180712 #1E0917 #4D173A #7C255D #AB3381

Accessibility & contrast

On white

14.01
#4D173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4D173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D173A
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D173A#FFFFFF#000000##FFFFFF
##4D173A1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263B
Deuteranopia (green-blind)
#2C2F39
Tritanopia (blue-blind)
#521726
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d173a;
/* rgb */ color: rgb(77, 23, 58);
/* oklch */ color: oklch(30.4% 0.093 344.2);
Tailwind
colors: {
  custom: {
    50: '#815870',
    500: '#4d173a',
    950: '#000000',
  },
}
SCSS
$custom: #4d173a;
$custom-light: #815870;
$custom-dark: #000000;
JSON
{
  "hex": "#4d173a",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 321.111,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.09262,
    "h": 344.2
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#4D173A
secondary
#3C8455
accent
#DD7E4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D173A

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

Preview Lab → · Contrast checker → · Palette generator →

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