#4E1226#4E1226

#4E1226 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.2% C 0.091 H 4.5°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#4E1226
RGBrgb(78, 18, 38)
HSLhsl(340, 63%, 19%)
HSVhsv(340, 77%, 31%)
CMYKcmyk(0%, 76.9%, 51.3%, 69.4%)
CIE-LABlab(16.47, 29.64, 2.68)
CIE-LCHlch(16.47, 29.76, 5.16°)
OKLaboklab(29.17% 0.0906 0.0072)
OKLCHoklch(29.17% 0.091 4.5)
XYZxyz(3.7083, 2.1927, 2.0613)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1226 #124E3A
analogous
#4E1244 #4E1226 #4E1C12
triadic
#4E1226 #264E12 #12264E
tetradic
#4E1226 #444E12 #124E3A #1C124E
square
#4E1226 #444E12 #124E3A #1C124E
split-complementary
#4E1226 #124E1C #12444E
monochromatic
#19060C #1C070E #4E1226 #801D3E #B12956

Accessibility & contrast

On white

14.60
#4E1226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E1226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1226
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1226#FFFFFF#000000##FFFFFF
##4E12261.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2126
Deuteranopia (green-blind)
#2F2D25
Tritanopia (blue-blind)
#55081A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e1226;
/* rgb */ color: rgb(78, 18, 38);
/* oklch */ color: oklch(29.2% 0.091 4.5);
Tailwind
colors: {
  custom: {
    50: '#835560',
    500: '#4e1226',
    950: '#000000',
  },
}
SCSS
$custom: #4e1226;
$custom-light: #835560;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1226",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 340,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29167,
    "c": 0.09084,
    "h": 4.5
  },
  "luminance": 0.02192
}

Semantic roles & 50–950 ramp

primary
#4E1226
secondary
#35876C
accent
#E6AF42
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4E1226

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

Preview Lab → · Contrast checker → · Palette generator →

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