#4E1127#4E1127

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

Color values

HEX#4E1127
RGBrgb(78, 17, 39)
HSLhsl(338, 64%, 19%)
HSVhsv(338, 78%, 31%)
CMYKcmyk(0%, 78.2%, 50%, 69.4%)
CIE-LABlab(16.34, 30.18, 1.77)
CIE-LCHlch(16.34, 30.23, 3.36°)
OKLaboklab(29.09% 0.0924 0.0049)
OKLCHoklch(29.09% 0.093 3)
XYZxyz(3.7088, 2.1676, 2.1421)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1127 #114E38
analogous
#4E1145 #4E1127 #4E1911
triadic
#4E1127 #274E11 #11274E
tetradic
#4E1127 #454E11 #114E38 #19114E
square
#4E1127 #454E11 #114E38 #19114E
split-complementary
#4E1127 #114E19 #11454E
monochromatic
#19050D #1C060E #4E1127 #801C40 #B22759

Accessibility & contrast

On white

14.65
#4E1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1127
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1127#FFFFFF#000000##FFFFFF
##4E11271.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2128
Deuteranopia (green-blind)
#2F2D26
Tritanopia (blue-blind)
#55071A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e1127;
/* rgb */ color: rgb(78, 17, 39);
/* oklch */ color: oklch(29.1% 0.092 3.0);
Tailwind
colors: {
  custom: {
    50: '#835560',
    500: '#4e1127',
    950: '#000000',
  },
}
SCSS
$custom: #4e1127;
$custom-light: #835560;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1127",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 338.361,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.0925,
    "h": 3
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#4E1127
secondary
#338769
accent
#E7AB41
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1127

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

Preview Lab → · Contrast checker → · Palette generator →

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