#4E1840#4E1840

#4E1840 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.097 H 339.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4E1840
RGBrgb(78, 24, 64)
HSLhsl(316, 53%, 20%)
HSVhsv(316, 69%, 31%)
CMYKcmyk(0%, 69.2%, 17.9%, 69.4%)
CIE-LABlab(18.56, 30.50, -12.65)
CIE-LCHlch(18.56, 33.02, 337.48°)
OKLaboklab(31.05% 0.0903 -0.0341)
OKLCHoklch(31.05% 0.097 339.3)
XYZxyz(4.3940, 2.6435, 5.1283)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1840 #184E26
analogous
#41184E #4E1840 #4E1825
triadic
#4E1840 #404E18 #18404E
tetradic
#4E1840 #4E4118 #184E26 #18254E
square
#4E1840 #4E4118 #184E26 #18254E
split-complementary
#4E1840 #254E18 #184E41
monochromatic
#170713 #1F0A1A #4E1840 #7D2666 #AC358D

Accessibility & contrast

On white

13.74
#4E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1840
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1840#FFFFFF#000000##FFFFFF
##4E18401.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#2B303F
Tritanopia (blue-blind)
#531A29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1840;
/* rgb */ color: rgb(78, 24, 64);
/* oklch */ color: oklch(31.1% 0.097 339.3);
Tailwind
colors: {
  custom: {
    50: '#825975',
    500: '#4e1840',
    950: '#000000',
  },
}
SCSS
$custom: #4e1840;
$custom-light: #825975;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1840",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 315.556,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31053,
    "c": 0.0965,
    "h": 339.3
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#4E1840
secondary
#3D8550
accent
#DC714B
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1840

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

Preview Lab → · Contrast checker → · Palette generator →

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