#4E1A31#4E1A31

#4E1A31 is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.6% C 0.083 H 355.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4E1A31
RGBrgb(78, 26, 49)
HSLhsl(333, 50%, 20%)
HSVhsv(333, 67%, 31%)
CMYKcmyk(0%, 66.7%, 37.2%, 69.4%)
CIE-LABlab(18.28, 27.11, -2.55)
CIE-LCHlch(18.28, 27.23, 354.63°)
OKLaboklab(30.64% 0.0827 -0.0064)
OKLCHoklch(30.64% 0.083 355.6)
XYZxyz(4.0659, 2.5807, 3.1891)
Luminance0.0258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A31 #1A4E37
analogous
#4E1A4B #4E1A31 #4E1D1A
triadic
#4E1A31 #314E1A #1A314E
tetradic
#4E1A31 #4B4E1A #1A4E37 #1D1A4E
square
#4E1A31 #4B4E1A #1A4E37 #1D1A4E
split-complementary
#4E1A31 #1A4E1D #1A4B4E
monochromatic
#17080E #200B14 #4E1A31 #7C294E #AA396B

Accessibility & contrast

On white

13.85
#4E1A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E1A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A31
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A31#FFFFFF#000000##FFFFFF
##4E1A311.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#303030
Tritanopia (blue-blind)
#541623
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1a31;
/* rgb */ color: rgb(78, 26, 49);
/* oklch */ color: oklch(30.6% 0.083 355.6);
Tailwind
colors: {
  custom: {
    50: '#825a69',
    500: '#4e1a31',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a31;
$custom-light: #825a69;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a31",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 49
  },
  "hsl": {
    "h": 333.462,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30636,
    "c": 0.0829,
    "h": 355.6
  },
  "luminance": 0.0258
}

Semantic roles & 50–950 ramp

primary
#4E1A31
secondary
#408466
accent
#DA9C4E
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4E1A31

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

Preview Lab → · Contrast checker → · Palette generator →

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