#4E1526#4E1526

#4E1526 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.087 H 5.9°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1526
RGBrgb(78, 21, 38)
HSLhsl(342, 58%, 19%)
HSVhsv(342, 73%, 31%)
CMYKcmyk(0%, 73.1%, 51.3%, 69.4%)
CIE-LABlab(16.97, 28.25, 3.40)
CIE-LCHlch(16.97, 28.45, 6.85°)
OKLaboklab(29.54% 0.0861 0.009)
OKLCHoklch(29.54% 0.087 5.9)
XYZxyz(3.7602, 2.2964, 2.0786)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1526 #154E3D
analogous
#4E1543 #4E1526 #4E2115
triadic
#4E1526 #264E15 #15264E
tetradic
#4E1526 #434E15 #154E3D #21154E
square
#4E1526 #434E15 #154E3D #21154E
split-complementary
#4E1526 #154E21 #15434E
monochromatic
#18060C #1E080F #4E1526 #7E223D #AE2F55

Accessibility & contrast

On white

14.39
#4E1526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E1526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1526
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1526#FFFFFF#000000##FFFFFF
##4E15261.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212326
Deuteranopia (green-blind)
#302E25
Tritanopia (blue-blind)
#550D1C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e1526;
/* rgb */ color: rgb(78, 21, 38);
/* oklch */ color: oklch(29.5% 0.087 5.9);
Tailwind
colors: {
  custom: {
    50: '#835760',
    500: '#4e1526',
    950: '#000000',
  },
}
SCSS
$custom: #4e1526;
$custom-light: #835760;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1526",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 38
  },
  "hsl": {
    "h": 342.105,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29541,
    "c": 0.08661,
    "h": 5.9
  },
  "luminance": 0.02296
}

Semantic roles & 50–950 ramp

primary
#4E1526
secondary
#39866F
accent
#E1B347
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4E1526

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

Preview Lab → · Contrast checker → · Palette generator →

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