#4E1B28#4E1B28

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

Color values

HEX#4E1B28
RGBrgb(78, 27, 40)
HSLhsl(345, 49%, 21%)
HSVhsv(345, 65%, 31%)
CMYKcmyk(0%, 65.4%, 48.7%, 69.4%)
CIE-LABlab(18.18, 25.40, 3.68)
CIE-LCHlch(18.18, 25.67, 8.25°)
OKLaboklab(30.46% 0.0773 0.0097)
OKLCHoklch(30.46% 0.078 7.2)
XYZxyz(3.9171, 2.5572, 2.2944)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B28 #1B4E41
analogous
#4E1B41 #4E1B28 #4E271B
triadic
#4E1B28 #284E1B #1B284E
tetradic
#4E1B28 #414E1B #1B4E41 #271B4E
square
#4E1B28 #414E1B #1B4E41 #271B4E
split-complementary
#4E1B28 #1B4E27 #1B414E
monochromatic
#17080C #210B11 #4E1B28 #7B2B3F #A93A57

Accessibility & contrast

On white

13.89
#4E1B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1B28
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B28#FFFFFF#000000##FFFFFF
##4E1B281.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252628
Deuteranopia (green-blind)
#333027
Tritanopia (blue-blind)
#551520
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1b28;
/* rgb */ color: rgb(78, 27, 40);
/* oklch */ color: oklch(30.5% 0.078 7.2);
Tailwind
colors: {
  custom: {
    50: '#835a61',
    500: '#4e1b28',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b28;
$custom-light: #835a61;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b28",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 344.706,
    "s": 48.571,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30458,
    "c": 0.07788,
    "h": 7.2
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#4E1B28
secondary
#418473
accent
#D8B550
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #4E1B28

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

Preview Lab → · Contrast checker → · Palette generator →

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