#4E1640#4E1640

#4E1640 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.100 H 339.1°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#4E1640
RGBrgb(78, 22, 64)
HSLhsl(315, 56%, 20%)
HSVhsv(315, 72%, 31%)
CMYKcmyk(0%, 71.8%, 17.9%, 69.4%)
CIE-LABlab(18.21, 31.47, -13.19)
CIE-LCHlch(18.21, 34.12, 337.26°)
OKLaboklab(30.8% 0.0932 -0.0356)
OKLCHoklch(30.8% 0.1 339.1)
XYZxyz(4.3543, 2.5641, 5.1151)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1640 #164E24
analogous
#40164E #4E1640 #4E1624
triadic
#4E1640 #404E16 #16404E
tetradic
#4E1640 #4E4016 #164E24 #16244E
square
#4E1640 #4E4016 #164E24 #16244E
split-complementary
#4E1640 #244E16 #164E40
monochromatic
#180714 #1E0919 #4E1640 #7E2367 #AD318E

Accessibility & contrast

On white

13.88
#4E1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1640
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1640#FFFFFF#000000##FFFFFF
##4E16401.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192741
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#531828
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1640;
/* rgb */ color: rgb(78, 22, 64);
/* oklch */ color: oklch(30.8% 0.100 339.1);
Tailwind
colors: {
  custom: {
    50: '#825875',
    500: '#4e1640',
    950: '#000000',
  },
}
SCSS
$custom: #4e1640;
$custom-light: #825875;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1640",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 315,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30797,
    "c": 0.09974,
    "h": 339.1
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#4E1640
secondary
#3A854D
accent
#DF6E49
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E1640

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

Preview Lab → · Contrast checker → · Palette generator →

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