#4D173C#4D173C

#4D173C is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.094 H 342.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4D173C
RGBrgb(77, 23, 60)
HSLhsl(319, 54%, 20%)
HSVhsv(319, 70%, 30%)
CMYKcmyk(0%, 70.1%, 22.1%, 69.8%)
CIE-LABlab(18.00, 29.99, -10.74)
CIE-LCHlch(18.00, 31.85, 340.30°)
OKLaboklab(30.54% 0.0896 -0.0287)
OKLCHoklch(30.54% 0.094 342.2)
XYZxyz(4.1827, 2.5172, 4.5397)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D173C #174D28
analogous
#43174D #4D173C #4D1721
triadic
#4D173C #3C4D17 #173C4D
tetradic
#4D173C #4D4317 #174D28 #17214D
square
#4D173C #4D4317 #174D28 #17214D
split-complementary
#4D173C #214D17 #174D43
monochromatic
#180712 #1E0917 #4D173C #7C2561 #AB3385

Accessibility & contrast

On white

13.97
#4D173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D173C
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D173C#FFFFFF#000000##FFFFFF
##4D173C1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B263D
Deuteranopia (green-blind)
#2B2F3B
Tritanopia (blue-blind)
#521727
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d173c;
/* rgb */ color: rgb(77, 23, 60);
/* oklch */ color: oklch(30.5% 0.094 342.2);
Tailwind
colors: {
  custom: {
    50: '#815871',
    500: '#4d173c',
    950: '#000000',
  },
}
SCSS
$custom: #4d173c;
$custom-light: #815871;
$custom-dark: #000000;
JSON
{
  "hex": "#4d173c",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 318.889,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30543,
    "c": 0.09412,
    "h": 342.2
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#4D173C
secondary
#3C8452
accent
#DD794A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4D173C

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

Preview Lab → · Contrast checker → · Palette generator →

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