#4E173D#4E173D

#4E173D is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.096 H 342.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4E173D
RGBrgb(78, 23, 61)
HSLhsl(319, 54%, 20%)
HSVhsv(319, 71%, 31%)
CMYKcmyk(0%, 70.5%, 21.8%, 69.4%)
CIE-LABlab(18.23, 30.48, -11.06)
CIE-LCHlch(18.23, 32.43, 340.06°)
OKLaboklab(30.77% 0.0911 -0.0296)
OKLCHoklch(30.77% 0.096 342)
XYZxyz(4.2907, 2.5698, 4.6840)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E173D #174E28
analogous
#43174E #4E173D #4E1722
triadic
#4E173D #3D4E17 #173D4E
tetradic
#4E173D #4E4317 #174E28 #17224E
square
#4E173D #4E4317 #174E28 #17224E
split-complementary
#4E173D #224E17 #174E43
monochromatic
#180712 #1F0918 #4E173D #7D2562 #AD3387

Accessibility & contrast

On white

13.87
#4E173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E173D
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E173D#FFFFFF#000000##FFFFFF
##4E173D1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B273E
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#531827
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e173d;
/* rgb */ color: rgb(78, 23, 61);
/* oklch */ color: oklch(30.8% 0.096 342.0);
Tailwind
colors: {
  custom: {
    50: '#825872',
    500: '#4e173d',
    950: '#000000',
  },
}
SCSS
$custom: #4e173d;
$custom-light: #825872;
$custom-dark: #000000;
JSON
{
  "hex": "#4e173d",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 318.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30768,
    "c": 0.09576,
    "h": 342
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#4E173D
secondary
#3C8552
accent
#DE784A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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