#4E173B#4E173B

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

Color values

HEX#4E173B
RGBrgb(78, 23, 59)
HSLhsl(321, 54%, 20%)
HSVhsv(321, 71%, 31%)
CMYKcmyk(0%, 70.5%, 24.4%, 69.4%)
CIE-LABlab(18.14, 30.15, -9.80)
CIE-LCHlch(18.14, 31.71, 341.99°)
OKLaboklab(30.67% 0.0906 -0.0261)
OKLCHoklch(30.67% 0.094 343.9)
XYZxyz(4.2378, 2.5487, 4.4056)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E173B #174E2A
analogous
#45174E #4E173B #4E1720
triadic
#4E173B #3B4E17 #173B4E
tetradic
#4E173B #4E4517 #174E2A #17204E
square
#4E173B #4E4517 #174E2A #17204E
split-complementary
#4E173B #204E17 #174E45
monochromatic
#180712 #1F0917 #4E173B #7D255F #AD3383

Accessibility & contrast

On white

13.91
#4E173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E173B
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E173B#FFFFFF#000000##FFFFFF
##4E173B1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C263C
Deuteranopia (green-blind)
#2C303A
Tritanopia (blue-blind)
#531726
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e173b;
/* rgb */ color: rgb(78, 23, 59);
/* oklch */ color: oklch(30.7% 0.094 343.9);
Tailwind
colors: {
  custom: {
    50: '#825871',
    500: '#4e173b',
    950: '#000000',
  },
}
SCSS
$custom: #4e173b;
$custom-light: #825871;
$custom-dark: #000000;
JSON
{
  "hex": "#4e173b",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 320.727,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30668,
    "c": 0.09425,
    "h": 343.9
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#4E173B
secondary
#3C8555
accent
#DE7D4A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E173B

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

Preview Lab → · Contrast checker → · Palette generator →

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