#4E1A3F#4E1A3F

#4E1A3F is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.092 H 340.5°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1A3F
RGBrgb(78, 26, 63)
HSLhsl(317, 50%, 20%)
HSVhsv(317, 67%, 31%)
CMYKcmyk(0%, 66.7%, 19.2%, 69.4%)
CIE-LABlab(18.88, 29.32, -11.46)
CIE-LCHlch(18.88, 31.48, 338.65°)
OKLaboklab(31.27% 0.087 -0.0308)
OKLCHoklch(31.27% 0.092 340.5)
XYZxyz(4.4086, 2.7178, 4.9941)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A3F #1A4E29
analogous
#431A4E #4E1A3F #4E1A25
triadic
#4E1A3F #3F4E1A #1A3F4E
tetradic
#4E1A3F #4E431A #1A4E29 #1A254E
square
#4E1A3F #4E431A #1A4E29 #1A254E
split-complementary
#4E1A3F #254E1A #1A4E43
monochromatic
#170813 #200B1A #4E1A3F #7C2964 #AA3989

Accessibility & contrast

On white

13.61
#4E1A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A3F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A3F#FFFFFF#000000##FFFFFF
##4E1A3F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#531B29
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1a3f;
/* rgb */ color: rgb(78, 26, 63);
/* oklch */ color: oklch(31.3% 0.092 340.5);
Tailwind
colors: {
  custom: {
    50: '#825a74',
    500: '#4e1a3f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a3f;
$custom-light: #825a74;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a3f",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 63
  },
  "hsl": {
    "h": 317.308,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31273,
    "c": 0.0923,
    "h": 340.5
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#4E1A3F
secondary
#408453
accent
#DA764E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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