#4E1427#4E1427

#4E1427 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.4% C 0.088 H 4.3°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#4E1427
RGBrgb(78, 20, 39)
HSLhsl(340, 59%, 19%)
HSVhsv(340, 74%, 31%)
CMYKcmyk(0%, 74.4%, 50%, 69.4%)
CIE-LABlab(16.83, 28.83, 2.47)
CIE-LCHlch(16.83, 28.94, 4.90°)
OKLaboklab(29.45% 0.0881 0.0067)
OKLCHoklch(29.45% 0.088 4.3)
XYZxyz(3.7585, 2.2670, 2.1587)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1427 #144E3B
analogous
#4E1444 #4E1427 #4E1E14
triadic
#4E1427 #274E14 #14274E
tetradic
#4E1427 #444E14 #144E3B #1E144E
square
#4E1427 #444E14 #144E3B #1E144E
split-complementary
#4E1427 #144E1E #14444E
monochromatic
#18060C #1D080F #4E1427 #7F203F #AF2D58

Accessibility & contrast

On white

14.45
#4E1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4E1427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1427
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1427#FFFFFF#000000##FFFFFF
##4E14271.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202227
Deuteranopia (green-blind)
#302E26
Tritanopia (blue-blind)
#550C1C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1427;
/* rgb */ color: rgb(78, 20, 39);
/* oklch */ color: oklch(29.4% 0.088 4.3);
Tailwind
colors: {
  custom: {
    50: '#835660',
    500: '#4e1427',
    950: '#000000',
  },
}
SCSS
$custom: #4e1427;
$custom-light: #835660;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1427",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 340.345,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29446,
    "c": 0.08833,
    "h": 4.3
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#4E1427
secondary
#38866C
accent
#E2AF45
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1427

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

Preview Lab → · Contrast checker → · Palette generator →

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