#4E173C#4E173C

#4E173C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.7% C 0.095 H 342.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#4E173C
RGBrgb(78, 23, 60)
HSLhsl(320, 54%, 20%)
HSVhsv(320, 71%, 31%)
CMYKcmyk(0%, 70.5%, 23.1%, 69.4%)
CIE-LABlab(18.18, 30.32, -10.43)
CIE-LCHlch(18.18, 32.06, 341.01°)
OKLaboklab(30.72% 0.0908 -0.0279)
OKLCHoklch(30.72% 0.095 342.9)
XYZxyz(4.2640, 2.5591, 4.5435)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E173C #174E29
analogous
#44174E #4E173C #4E1721
triadic
#4E173C #3C4E17 #173C4E
tetradic
#4E173C #4E4417 #174E29 #17214E
square
#4E173C #4E4417 #174E29 #17214E
split-complementary
#4E173C #214E17 #174E44
monochromatic
#180712 #1F0918 #4E173C #7D2560 #AD3385

Accessibility & contrast

On white

13.89
#4E173C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E173C
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E173C#FFFFFF#000000##FFFFFF
##4E173C1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C273D
Deuteranopia (green-blind)
#2C303B
Tritanopia (blue-blind)
#531727
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e173c;
/* rgb */ color: rgb(78, 23, 60);
/* oklch */ color: oklch(30.7% 0.095 342.9);
Tailwind
colors: {
  custom: {
    50: '#825871',
    500: '#4e173c',
    950: '#000000',
  },
}
SCSS
$custom: #4e173c;
$custom-light: #825871;
$custom-dark: #000000;
JSON
{
  "hex": "#4e173c",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 60
  },
  "hsl": {
    "h": 319.636,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30717,
    "c": 0.095,
    "h": 342.9
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#4E173C
secondary
#3C8554
accent
#DE7A4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E173C

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

Preview Lab → · Contrast checker → · Palette generator →

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