#4E1A39#4E1A39

#4E1A39 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.0% C 0.088 H 346.6°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#4E1A39
RGBrgb(78, 26, 57)
HSLhsl(324, 50%, 20%)
HSVhsv(324, 67%, 31%)
CMYKcmyk(0%, 66.7%, 26.9%, 69.4%)
CIE-LABlab(18.60, 28.32, -7.69)
CIE-LCHlch(18.60, 29.34, 344.80°)
OKLaboklab(30.98% 0.0854 -0.0203)
OKLCHoklch(30.98% 0.088 346.6)
XYZxyz(4.2499, 2.6543, 4.1586)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A39 #1A4E2F
analogous
#491A4E #4E1A39 #4E1A1F
triadic
#4E1A39 #394E1A #1A394E
tetradic
#4E1A39 #4E491A #1A4E2F #1A1F4E
square
#4E1A39 #4E491A #1A4E2F #1A1F4E
split-complementary
#4E1A39 #1F4E1A #1A4E49
monochromatic
#170811 #200B17 #4E1A39 #7C295B #AA397C

Accessibility & contrast

On white

13.72
#4E1A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A39
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A39#FFFFFF#000000##FFFFFF
##4E1A391.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283A
Deuteranopia (green-blind)
#2E3138
Tritanopia (blue-blind)
#531927
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1a39;
/* rgb */ color: rgb(78, 26, 57);
/* oklch */ color: oklch(31.0% 0.088 346.6);
Tailwind
colors: {
  custom: {
    50: '#825a6f',
    500: '#4e1a39',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a39;
$custom-light: #825a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a39",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 57
  },
  "hsl": {
    "h": 324.231,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30981,
    "c": 0.08775,
    "h": 346.6
  },
  "luminance": 0.02654
}

Semantic roles & 50–950 ramp

primary
#4E1A39
secondary
#40845B
accent
#DA874E
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4E1A39

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

Preview Lab → · Contrast checker → · Palette generator →

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