#4E173F#4E173F

#4E173F is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.9% C 0.097 H 340.1°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#4E173F
RGBrgb(78, 23, 63)
HSLhsl(316, 54%, 20%)
HSVhsv(316, 71%, 31%)
CMYKcmyk(0%, 70.5%, 19.2%, 69.4%)
CIE-LABlab(18.33, 30.82, -12.30)
CIE-LCHlch(18.33, 33.19, 338.24°)
OKLaboklab(30.87% 0.0915 -0.0331)
OKLCHoklch(30.87% 0.097 340.1)
XYZxyz(4.3456, 2.5918, 4.9731)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E173F #174E26
analogous
#42174E #4E173F #4E1723
triadic
#4E173F #3F4E17 #173F4E
tetradic
#4E173F #4E4217 #174E26 #17234E
square
#4E173F #4E4217 #174E26 #17234E
split-complementary
#4E173F #234E17 #174E42
monochromatic
#180713 #1F0919 #4E173F #7D2565 #AD338B

Accessibility & contrast

On white

13.83
#4E173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E173F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E173F#FFFFFF#000000##FFFFFF
##4E173F1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2740
Deuteranopia (green-blind)
#2B303E
Tritanopia (blue-blind)
#531828
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e173f;
/* rgb */ color: rgb(78, 23, 63);
/* oklch */ color: oklch(30.9% 0.097 340.1);
Tailwind
colors: {
  custom: {
    50: '#825874',
    500: '#4e173f',
    950: '#000000',
  },
}
SCSS
$custom: #4e173f;
$custom-light: #825874;
$custom-dark: #000000;
JSON
{
  "hex": "#4e173f",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 316.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30871,
    "c": 0.09733,
    "h": 340.1
  },
  "luminance": 0.02591
}

Semantic roles & 50–950 ramp

primary
#4E173F
secondary
#3C8550
accent
#DE724A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E173F

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

Preview Lab → · Contrast checker → · Palette generator →

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