#4D172F#4D172F

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

Color values

HEX#4D172F
RGBrgb(77, 23, 47)
HSLhsl(333, 54%, 20%)
HSVhsv(333, 70%, 30%)
CMYKcmyk(0%, 70.1%, 39%, 69.8%)
CIE-LABlab(17.44, 28.02, -2.39)
CIE-LCHlch(17.44, 28.12, 355.13°)
OKLaboklab(29.95% 0.0856 -0.0059)
OKLCHoklch(29.95% 0.086 356)
XYZxyz(3.8803, 2.3962, 2.9469)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D172F #174D35
analogous
#4D174A #4D172F #4D1A17
triadic
#4D172F #2F4D17 #172F4D
tetradic
#4D172F #4A4D17 #174D35 #1A174D
square
#4D172F #4A4D17 #174D35 #1A174D
split-complementary
#4D172F #174D1A #174A4D
monochromatic
#18070E #1E0912 #4D172F #7C254C #AB3369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D172F#FFFFFF#000000##FFFFFF
##4D172F1.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)
#202430
Deuteranopia (green-blind)
#2F2F2E
Tritanopia (blue-blind)
#531321
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d172f;
/* rgb */ color: rgb(77, 23, 47);
/* oklch */ color: oklch(30.0% 0.086 356.0);
Tailwind
colors: {
  custom: {
    50: '#825867',
    500: '#4d172f',
    950: '#000000',
  },
}
SCSS
$custom: #4d172f;
$custom-light: #825867;
$custom-dark: #000000;
JSON
{
  "hex": "#4d172f",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 333.333,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.08578,
    "h": 356
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#4D172F
secondary
#3C8464
accent
#DD9C4A
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4D172F

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

Preview Lab → · Contrast checker → · Palette generator →

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