#4E1844#4E1844

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

Color values

HEX#4E1844
RGBrgb(78, 24, 68)
HSLhsl(311, 53%, 20%)
HSVhsv(311, 69%, 31%)
CMYKcmyk(0%, 69.2%, 12.8%, 69.4%)
CIE-LABlab(18.76, 31.21, -15.10)
CIE-LCHlch(18.76, 34.68, 334.18°)
OKLaboklab(31.27% 0.0911 -0.0411)
OKLCHoklch(31.27% 0.1 335.7)
XYZxyz(4.5120, 2.6907, 5.7494)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1844 #184E22
analogous
#3D184E #4E1844 #4E1829
triadic
#4E1844 #444E18 #18444E
tetradic
#4E1844 #4E3D18 #184E22 #18294E
square
#4E1844 #4E3D18 #184E22 #18294E
split-complementary
#4E1844 #294E18 #184E3D
monochromatic
#170714 #1F0A1B #4E1844 #7D266D #AC3596

Accessibility & contrast

On white

13.65
#4E1844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1844
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1844#FFFFFF#000000##FFFFFF
##4E18441.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182845
Deuteranopia (green-blind)
#2A3143
Tritanopia (blue-blind)
#521B2B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1844;
/* rgb */ color: rgb(78, 24, 68);
/* oklch */ color: oklch(31.3% 0.100 335.7);
Tailwind
colors: {
  custom: {
    50: '#825978',
    500: '#4e1844',
    950: '#000000',
  },
}
SCSS
$custom: #4e1844;
$custom-light: #825978;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1844",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 311.111,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31269,
    "c": 0.09989,
    "h": 335.7
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#4E1844
secondary
#3D854A
accent
#DC664B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1844

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

Preview Lab → · Contrast checker → · Palette generator →

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