#4E1728#4E1728

#4E1728 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 29.9% C 0.084 H 4.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#4E1728
RGBrgb(78, 23, 40)
HSLhsl(341, 54%, 20%)
HSVhsv(341, 71%, 31%)
CMYKcmyk(0%, 70.5%, 48.7%, 69.4%)
CIE-LABlab(17.40, 27.49, 2.57)
CIE-LCHlch(17.40, 27.61, 5.33°)
OKLaboklab(29.88% 0.0839 0.0069)
OKLCHoklch(29.88% 0.084 4.7)
XYZxyz(3.8316, 2.3862, 2.2659)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1728 #174E3D
analogous
#4E1743 #4E1728 #4E2217
triadic
#4E1728 #284E17 #17284E
tetradic
#4E1728 #434E17 #174E3D #22174E
square
#4E1728 #434E17 #174E3D #22174E
split-complementary
#4E1728 #174E22 #17434E
monochromatic
#18070C #1F0910 #4E1728 #7D2540 #AD3358

Accessibility & contrast

On white

14.22
#4E1728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E1728 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1728
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1728#FFFFFF#000000##FFFFFF
##4E17281.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222428
Deuteranopia (green-blind)
#312F27
Tritanopia (blue-blind)
#55101E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e1728;
/* rgb */ color: rgb(78, 23, 40);
/* oklch */ color: oklch(29.9% 0.084 4.7);
Tailwind
colors: {
  custom: {
    50: '#835861',
    500: '#4e1728',
    950: '#000000',
  },
}
SCSS
$custom: #4e1728;
$custom-light: #835861;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1728",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 40
  },
  "hsl": {
    "h": 341.455,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29876,
    "c": 0.08416,
    "h": 4.7
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#4E1728
secondary
#3C856E
accent
#DEB04A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1728

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

Preview Lab → · Contrast checker → · Palette generator →

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