#4E1128#4E1128

#4E1128 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.1% C 0.093 H 2.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#4E1128
RGBrgb(78, 17, 40)
HSLhsl(337, 64%, 19%)
HSVhsv(337, 78%, 31%)
CMYKcmyk(0%, 78.2%, 48.7%, 69.4%)
CIE-LABlab(16.38, 30.29, 1.10)
CIE-LCHlch(16.38, 30.31, 2.07°)
OKLaboklab(29.12% 0.0928 0.0032)
OKLCHoklch(29.12% 0.093 2)
XYZxyz(3.7256, 2.1743, 2.2306)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1128 #114E37
analogous
#4E1146 #4E1128 #4E1811
triadic
#4E1128 #284E11 #11284E
tetradic
#4E1128 #464E11 #114E37 #18114E
square
#4E1128 #464E11 #114E37 #18114E
split-complementary
#4E1128 #114E18 #11464E
monochromatic
#19050D #1C060E #4E1128 #801C42 #B2275C

Accessibility & contrast

On white

14.64
#4E1128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E1128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1128
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1128#FFFFFF#000000##FFFFFF
##4E11281.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2129
Deuteranopia (green-blind)
#2F2D27
Tritanopia (blue-blind)
#55081B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e1128;
/* rgb */ color: rgb(78, 17, 40);
/* oklch */ color: oklch(29.1% 0.093 2.0);
Tailwind
colors: {
  custom: {
    50: '#835561',
    500: '#4e1128',
    950: '#000000',
  },
}
SCSS
$custom: #4e1128;
$custom-light: #835561;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1128",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 40
  },
  "hsl": {
    "h": 337.377,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29121,
    "c": 0.09283,
    "h": 2
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#4E1128
secondary
#338768
accent
#E7A841
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1128

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

Preview Lab → · Contrast checker → · Palette generator →

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