#4D173E#4D173E

#4D173E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.096 H 340.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4D173E
RGBrgb(77, 23, 62)
HSLhsl(317, 54%, 20%)
HSVhsv(317, 70%, 30%)
CMYKcmyk(0%, 70.1%, 19.5%, 69.8%)
CIE-LABlab(18.09, 30.33, -11.99)
CIE-LCHlch(18.09, 32.61, 338.44°)
OKLaboklab(30.65% 0.0901 -0.0322)
OKLCHoklch(30.65% 0.096 340.3)
XYZxyz(4.2366, 2.5388, 4.8234)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D173E #174D26
analogous
#41174D #4D173E #4D1723
triadic
#4D173E #3E4D17 #173E4D
tetradic
#4D173E #4D4117 #174D26 #17234D
square
#4D173E #4D4117 #174D26 #17234D
split-complementary
#4D173E #234D17 #174D41
monochromatic
#180713 #1E0918 #4D173E #7C2564 #AB338A

Accessibility & contrast

On white

13.93
#4D173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D173E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D173E#FFFFFF#000000##FFFFFF
##4D173E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A273F
Deuteranopia (green-blind)
#2B2F3D
Tritanopia (blue-blind)
#521828
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d173e;
/* rgb */ color: rgb(77, 23, 62);
/* oklch */ color: oklch(30.6% 0.096 340.3);
Tailwind
colors: {
  custom: {
    50: '#815873',
    500: '#4d173e',
    950: '#000000',
  },
}
SCSS
$custom: #4d173e;
$custom-light: #815873;
$custom-dark: #000000;
JSON
{
  "hex": "#4d173e",
  "rgb": {
    "r": 77,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 316.667,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30646,
    "c": 0.09569,
    "h": 340.3
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#4D173E
secondary
#3C8450
accent
#DD734A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #4D173E

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

Preview Lab → · Contrast checker → · Palette generator →

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