#4E173A#4E173A

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

Color values

HEX#4E173A
RGBrgb(78, 23, 58)
HSLhsl(322, 54%, 20%)
HSVhsv(322, 71%, 31%)
CMYKcmyk(0%, 70.5%, 25.6%, 69.4%)
CIE-LABlab(18.09, 29.99, -9.17)
CIE-LCHlch(18.09, 31.36, 342.99°)
OKLaboklab(30.62% 0.0903 -0.0244)
OKLCHoklch(30.62% 0.094 344.9)
XYZxyz(4.2121, 2.5384, 4.2703)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E173A #174E2B
analogous
#46174E #4E173A #4E171F
triadic
#4E173A #3A4E17 #173A4E
tetradic
#4E173A #4E4617 #174E2B #171F4E
square
#4E173A #4E4617 #174E2B #171F4E
split-complementary
#4E173A #1F4E17 #174E46
monochromatic
#180712 #1F0917 #4E173A #7D255D #AD3380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E173A#FFFFFF#000000##FFFFFF
##4E173A1.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)
#1D263B
Deuteranopia (green-blind)
#2D3039
Tritanopia (blue-blind)
#531626
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e173a;
/* rgb */ color: rgb(78, 23, 58);
/* oklch */ color: oklch(30.6% 0.094 344.9);
Tailwind
colors: {
  custom: {
    50: '#825870',
    500: '#4e173a',
    950: '#000000',
  },
}
SCSS
$custom: #4e173a;
$custom-light: #825870;
$custom-dark: #000000;
JSON
{
  "hex": "#4e173a",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 321.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30619,
    "c": 0.09353,
    "h": 344.9
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#4E173A
secondary
#3C8556
accent
#DE804A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E173A

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

Preview Lab → · Contrast checker → · Palette generator →

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