#4E1843#4E1843

#4E1843 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.2% C 0.099 H 336.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#4E1843
RGBrgb(78, 24, 67)
HSLhsl(312, 53%, 20%)
HSVhsv(312, 69%, 31%)
CMYKcmyk(0%, 69.2%, 14.1%, 69.4%)
CIE-LABlab(18.71, 31.03, -14.49)
CIE-LCHlch(18.71, 34.25, 334.97°)
OKLaboklab(31.21% 0.0909 -0.0393)
OKLCHoklch(31.21% 0.099 336.6)
XYZxyz(4.4817, 2.6786, 5.5901)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1843 #184E23
analogous
#3E184E #4E1843 #4E1828
triadic
#4E1843 #434E18 #18434E
tetradic
#4E1843 #4E3E18 #184E23 #18284E
square
#4E1843 #4E3E18 #184E23 #18284E
split-complementary
#4E1843 #284E18 #184E3E
monochromatic
#170714 #1F0A1B #4E1843 #7D266B #AC3593

Accessibility & contrast

On white

13.68
#4E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1843
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1843#FFFFFF#000000##FFFFFF
##4E18431.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1843;
/* rgb */ color: rgb(78, 24, 67);
/* oklch */ color: oklch(31.2% 0.099 336.6);
Tailwind
colors: {
  custom: {
    50: '#825977',
    500: '#4e1843',
    950: '#000000',
  },
}
SCSS
$custom: #4e1843;
$custom-light: #825977;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1843",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 312.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.09902,
    "h": 336.6
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#4E1843
secondary
#3D854C
accent
#DC694B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1843

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

Preview Lab → · Contrast checker → · Palette generator →

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