#4E1A43#4E1A43

#4E1A43 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.096 H 336.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4E1A43
RGBrgb(78, 26, 67)
HSLhsl(313, 50%, 20%)
HSVhsv(313, 67%, 31%)
CMYKcmyk(0%, 66.7%, 14.1%, 69.4%)
CIE-LABlab(19.07, 30.03, -13.93)
CIE-LCHlch(19.07, 33.10, 335.12°)
OKLaboklab(31.48% 0.0879 -0.0377)
OKLCHoklch(31.48% 0.096 336.8)
XYZxyz(4.5245, 2.7641, 5.6043)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A43 #1A4E25
analogous
#3F1A4E #4E1A43 #4E1A29
triadic
#4E1A43 #434E1A #1A434E
tetradic
#4E1A43 #4E3F1A #1A4E25 #1A294E
square
#4E1A43 #4E3F1A #1A4E25 #1A294E
split-complementary
#4E1A43 #294E1A #1A4E3F
monochromatic
#170814 #200B1C #4E1A43 #7C296A #AA3992

Accessibility & contrast

On white

13.52
#4E1A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A43
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A43#FFFFFF#000000##FFFFFF
##4E1A431.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1a43;
/* rgb */ color: rgb(78, 26, 67);
/* oklch */ color: oklch(31.5% 0.096 336.8);
Tailwind
colors: {
  custom: {
    50: '#825a77',
    500: '#4e1a43',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a43;
$custom-light: #825a77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a43",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 67
  },
  "hsl": {
    "h": 312.692,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.09566,
    "h": 336.8
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#4E1A43
secondary
#40844E
accent
#DA6C4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1A43

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

Preview Lab → · Contrast checker → · Palette generator →

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