#4E1B40#4E1B40

#4E1B40 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.5% C 0.091 H 339.7°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1B40
RGBrgb(78, 27, 64)
HSLhsl(316, 49%, 21%)
HSVhsv(316, 65%, 31%)
CMYKcmyk(0%, 65.4%, 17.9%, 69.4%)
CIE-LABlab(19.12, 28.97, -11.79)
CIE-LCHlch(19.12, 31.28, 337.87°)
OKLaboklab(31.46% 0.0857 -0.0317)
OKLCHoklch(31.46% 0.091 339.7)
XYZxyz(4.4593, 2.7741, 5.1501)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B40 #1B4E29
analogous
#421B4E #4E1B40 #4E1B26
triadic
#4E1B40 #404E1B #1B404E
tetradic
#4E1B40 #4E421B #1B4E29 #1B264E
square
#4E1B40 #4E421B #1B4E29 #1B264E
split-complementary
#4E1B40 #264E1B #1B4E42
monochromatic
#170813 #210B1B #4E1B40 #7B2B65 #A93A8B

Accessibility & contrast

On white

13.51
#4E1B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B40
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B40#FFFFFF#000000##FFFFFF
##4E1B401.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2941
Deuteranopia (green-blind)
#2D313F
Tritanopia (blue-blind)
#531C2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1b40;
/* rgb */ color: rgb(78, 27, 64);
/* oklch */ color: oklch(31.5% 0.091 339.7);
Tailwind
colors: {
  custom: {
    50: '#815b75',
    500: '#4e1b40',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b40;
$custom-light: #815b75;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b40",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 316.471,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31464,
    "c": 0.09137,
    "h": 339.7
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#4E1B40
secondary
#418453
accent
#D87550
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #4E1B40

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

Preview Lab → · Contrast checker → · Palette generator →

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