#4E1A38#4E1A38

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

Color values

HEX#4E1A38
RGBrgb(78, 26, 56)
HSLhsl(325, 50%, 20%)
HSVhsv(325, 67%, 31%)
CMYKcmyk(0%, 66.7%, 28.2%, 69.4%)
CIE-LABlab(18.56, 28.16, -7.06)
CIE-LCHlch(18.56, 29.03, 345.93°)
OKLaboklab(30.94% 0.0851 -0.0185)
OKLCHoklch(30.94% 0.087 347.7)
XYZxyz(4.2252, 2.6444, 4.0285)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A38 #1A4E30
analogous
#4A1A4E #4E1A38 #4E1A1E
triadic
#4E1A38 #384E1A #1A384E
tetradic
#4E1A38 #4E4A1A #1A4E30 #1A1E4E
square
#4E1A38 #4E4A1A #1A4E30 #1A1E4E
split-complementary
#4E1A38 #1E4E1A #1A4E4A
monochromatic
#170810 #200B17 #4E1A38 #7C2959 #AA397A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E1A38#FFFFFF#000000##FFFFFF
##4E1A381.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)
#202839
Deuteranopia (green-blind)
#2E3137
Tritanopia (blue-blind)
#541926
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1a38;
/* rgb */ color: rgb(78, 26, 56);
/* oklch */ color: oklch(30.9% 0.087 347.7);
Tailwind
colors: {
  custom: {
    50: '#825a6e',
    500: '#4e1a38',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a38;
$custom-light: #825a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a38",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 325.385,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30935,
    "c": 0.08707,
    "h": 347.7
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#4E1A38
secondary
#40845D
accent
#DA894E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0407
muted
#7C797A

Preview Lab

Preview with #4E1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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