#4E1B2A#4E1B2A

#4E1B2A is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.5% C 0.078 H 4.7°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4E1B2A
RGBrgb(78, 27, 42)
HSLhsl(342, 49%, 21%)
HSVhsv(342, 65%, 31%)
CMYKcmyk(0%, 65.4%, 46.2%, 69.4%)
CIE-LABlab(18.24, 25.64, 2.35)
CIE-LCHlch(18.24, 25.75, 5.24°)
OKLaboklab(30.53% 0.0781 0.0064)
OKLCHoklch(30.53% 0.078 4.7)
XYZxyz(3.9520, 2.5712, 2.4782)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B2A #1B4E3F
analogous
#4E1B43 #4E1B2A #4E251B
triadic
#4E1B2A #2A4E1B #1B2A4E
tetradic
#4E1B2A #434E1B #1B4E3F #251B4E
square
#4E1B2A #434E1B #1B4E3F #251B4E
split-complementary
#4E1B2A #1B4E25 #1B434E
monochromatic
#17080C #210B12 #4E1B2A #7B2B42 #A93A5B

Accessibility & contrast

On white

13.87
#4E1B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B2A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B2A#FFFFFF#000000##FFFFFF
##4E1B2A1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25262A
Deuteranopia (green-blind)
#323029
Tritanopia (blue-blind)
#551521
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1b2a;
/* rgb */ color: rgb(78, 27, 42);
/* oklch */ color: oklch(30.5% 0.078 4.7);
Tailwind
colors: {
  custom: {
    50: '#825a63',
    500: '#4e1b2a',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b2a;
$custom-light: #825a63;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b2a",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 342.353,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30525,
    "c": 0.0784,
    "h": 4.7
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#4E1B2A
secondary
#418470
accent
#D8B050
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #4E1B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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