#4E1527#4E1527

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

Color values

HEX#4E1527
RGBrgb(78, 21, 39)
HSLhsl(341, 58%, 19%)
HSVhsv(341, 73%, 31%)
CMYKcmyk(0%, 73.1%, 50%, 69.4%)
CIE-LABlab(17.00, 28.36, 2.72)
CIE-LCHlch(17.00, 28.49, 5.48°)
OKLaboklab(29.57% 0.0866 0.0073)
OKLCHoklch(29.57% 0.087 4.8)
XYZxyz(3.7765, 2.3030, 2.1647)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1527 #154E3C
analogous
#4E1544 #4E1527 #4E2015
triadic
#4E1527 #274E15 #15274E
tetradic
#4E1527 #444E15 #154E3C #20154E
square
#4E1527 #444E15 #154E3C #20154E
split-complementary
#4E1527 #154E20 #15444E
monochromatic
#18060C #1E080F #4E1527 #7E223F #AE2F57

Accessibility & contrast

On white

14.38
#4E1527 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1527
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1527#FFFFFF#000000##FFFFFF
##4E15271.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1527;
/* rgb */ color: rgb(78, 21, 39);
/* oklch */ color: oklch(29.6% 0.087 4.8);
Tailwind
colors: {
  custom: {
    50: '#835760',
    500: '#4e1527',
    950: '#000000',
  },
}
SCSS
$custom: #4e1527;
$custom-light: #835760;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1527",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 39
  },
  "hsl": {
    "h": 341.053,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.08688,
    "h": 4.8
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#4E1527
secondary
#39866E
accent
#E1B047
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E1527

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

Preview Lab → · Contrast checker → · Palette generator →

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