#4E1729#4E1729

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

Color values

HEX#4E1729
RGBrgb(78, 23, 41)
HSLhsl(340, 54%, 20%)
HSVhsv(340, 71%, 31%)
CMYKcmyk(0%, 70.5%, 47.4%, 69.4%)
CIE-LABlab(17.43, 27.61, 1.90)
CIE-LCHlch(17.43, 27.68, 3.93°)
OKLaboklab(29.91% 0.0843 0.0052)
OKLCHoklch(29.91% 0.084 3.5)
XYZxyz(3.8488, 2.3930, 2.3566)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1729 #174E3C
analogous
#4E1744 #4E1729 #4E2117
triadic
#4E1729 #294E17 #17294E
tetradic
#4E1729 #444E17 #174E3C #21174E
square
#4E1729 #444E17 #174E3C #21174E
split-complementary
#4E1729 #174E21 #17444E
monochromatic
#18070C #1F0910 #4E1729 #7D2542 #AD335B

Accessibility & contrast

On white

14.20
#4E1729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1729
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1729#FFFFFF#000000##FFFFFF
##4E17291.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1729;
/* rgb */ color: rgb(78, 23, 41);
/* oklch */ color: oklch(29.9% 0.084 3.5);
Tailwind
colors: {
  custom: {
    50: '#835862',
    500: '#4e1729',
    950: '#000000',
  },
}
SCSS
$custom: #4e1729;
$custom-light: #835862;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1729",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 41
  },
  "hsl": {
    "h": 340.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.08447,
    "h": 3.5
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#4E1729
secondary
#3C856D
accent
#DEAD4A
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1729

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

Preview Lab → · Contrast checker → · Palette generator →

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