#4E1A42#4E1A42

#4E1A42 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.4% C 0.095 H 337.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1A42
RGBrgb(78, 26, 66)
HSLhsl(314, 50%, 20%)
HSVhsv(314, 67%, 31%)
CMYKcmyk(0%, 66.7%, 15.4%, 69.4%)
CIE-LABlab(19.02, 29.85, -13.31)
CIE-LCHlch(19.02, 32.68, 335.96°)
OKLaboklab(31.43% 0.0877 -0.036)
OKLCHoklch(31.43% 0.095 337.7)
XYZxyz(4.4947, 2.7522, 5.4477)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A42 #1A4E26
analogous
#401A4E #4E1A42 #4E1A28
triadic
#4E1A42 #424E1A #1A424E
tetradic
#4E1A42 #4E401A #1A4E26 #1A284E
square
#4E1A42 #4E401A #1A4E26 #1A284E
split-complementary
#4E1A42 #284E1A #1A4E40
monochromatic
#170813 #200B1B #4E1A42 #7C2969 #AA3990

Accessibility & contrast

On white

13.54
#4E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A42
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A42#FFFFFF#000000##FFFFFF
##4E1A421.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#2B3141
Tritanopia (blue-blind)
#521C2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1a42;
/* rgb */ color: rgb(78, 26, 66);
/* oklch */ color: oklch(31.4% 0.095 337.7);
Tailwind
colors: {
  custom: {
    50: '#825a76',
    500: '#4e1a42',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a42;
$custom-light: #825a76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a42",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 313.846,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31428,
    "c": 0.0948,
    "h": 337.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#4E1A42
secondary
#40844F
accent
#DA6E4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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